August 2015

Jean Raby's picture

1M QPS with nginx and Ubuntu 12.04 on EC2

We have been doing quite a few tests lately to understand what is the maximum number of HTTP queries per second (QPS) that a modern server running Ubuntu 12.04 with a recent Linux kernel could handle.

We could easily reach ~495k QPS on our local bare metal development servers, but we hit the bandwidth limit of the network interfaces.
So we set out to reproduce the benchmark on Amazon EC2 instances which have 10gbps NICs to see how high it would go. Turned out to be harder than expected and quite interesting...