1 Million RPS on AWS: 5 Bottlenecks, Only 1 Was the DB
What broke on the way to 1 million requests per second on AWS: the network, an O(n) query, Redis, Node and the load balancer. About $2,000 in AWS bills.
$ grep -r "#performance" ~/blogs # my words, with labels
$ ls ~/write/connections
my posts, connectedThese are my #performance posts. I made the connection; you get the links.
What broke on the way to 1 million requests per second on AWS: the network, an O(n) query, Redis, Node and the load balancer. About $2,000 in AWS bills.
Find which layer makes your app slow with ping, curl and traceroute: a per-hop latency budget in an hour. Mine: rendering 0.25%, the network 98%.