Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Have you tried running 3 or even 4 puma workers (each with 8-16) threads on a dyno? That way you can get more concurrency on CPU-bound requests in addition to IO-bound concurrency (assuming MRI).


I tried that in my attempt at benchmarking a standardized app on heroku, and, yep, it works great:

https://github.com/jrochkind/fake_work_app/blob/master/READM...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: