4 ms·
Unicorn (3 workers) + Sinatra gets 2,300 requests per second. Thin + Sinatra gets 1,000 requests per second. https://github.com/joevandyk/unicorn-on-heroku ht
by joevandyk 15y ago
Unicorn (3 workers) + Sinatra gets 2,300 requests per second.
Thin + Sinatra gets 1,000 requests per second.
https://github.com/joevandyk/unicorn-on-heroku https://github.com/joevandyk/unicorn-on-heroku for unicorn code/results.
https://github.com/joevandyk/unicorn-on-heroku/tree/thin https://github.com/joevandyk/unicorn-on-heroku/tree/thin for thin code/results.
The weird thing is I tried scaling up to 10 dynos (even tried 50). I didn't see any throughput improvement.
- meskyanichi 15y agoThanks for testing it out! Great results!
- joevandyk 15y agoIf your app is doing any network IO, I'd expect unicorn + multiple worker processes to give even better results over thin.
- arikfr 15y agoThanks for testing and for sharing the results.
- stephth 15y agoJust curious, where did you execute ab from? I've uploaded your code and ran ab from my laptop - I've tried it under 3 different internet connections - and I only get about 100 req/s.