Tuning nginx on EC2

Chetan Sarva csarva at gmail.com
Sat Dec 11 19:53:17 MSK 2010


On Sat, Dec 11, 2010 at 9:12 AM, Dennis Jacobfeuerborn
<dennisml at conversis.de> wrote:

> I don't have any direct experience with services like EC2 but remember that
> before the traffic hits your machine it first has to pass through various
> routers and switches in Amazons infrastructure that is shared between
> probably millions of EC2 instances. You might either hit a bottleneck on
> these shared components or maybe Amazon just has put some limitations in
> place to prevent abuse.

With shared resources you would expect to see a range of throughput
numbers from when resources are constrained and when they are not. On
EC2, disk & network I/O is a shared resource and both can be measured.
I've done raw network throughput tests and they confirm this. With my
nginx tests (and, to be fair, other webservers as well), I
consistently get around 12k reqs/sec.



More information about the nginx mailing list