Scaling out - from first principles
summary
Starts from a monolith and shows concrete moves: offload static files to Nginx, decouple writes with a message queue (RabbitMQ/Kafka) to smooth spikes, add read replicas for heavy reads, and shard the write workload (CitusDB/Postgres). Claims Heap runs 1 PB on a 50-node Postgres cluster, Leanplum used ~200–300 machines (~2,000 CPUs), and an AWS ELB can lag so you must pre-warm load balancers. Uses Node.js frontends and Scala consumers, and recommends profiling, load testing, and choosing the simplest scalable change.
AI-written summary · about
