Both projects (uWSGI and GUnicorn) have passed a long way since the time when this article was written. I want to contribute with one little finding.
- These tests were done on an old 32bit dual core Thinkpad with 2Gb RAM - Adding too many workers can actually damage your performance. See example of 10 workers on gunicorn.
In recent documentation I've found the explanation for gunicorn 10 workers performance fall. - Generally we recommend (2 x $num_cores) + 1 as the number of workers to start off with. read more at http://gunicorn.org/design.html#how-many-workers
Comment
Both projects (uWSGI and GUnicorn) have passed a long way since the time when this article was written. I want to contribute with one little finding.
- These tests were done on an old 32bit dual core Thinkpad with 2Gb RAM
- Adding too many workers can actually damage your performance. See example of 10 workers on gunicorn.
In recent documentation I've found the explanation for gunicorn 10 workers performance fall.
- Generally we recommend (2 x $num_cores) + 1 as the number of workers to start off with.
read more at http://gunicorn.org/design.html#how-many-workers