Y
Hacker News
new
|
ask
|
show
|
jobs
by
nixme
4676 days ago
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).
1 comments
jrochkind1
4676 days ago
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...
link
https://github.com/jrochkind/fake_work_app/blob/master/READM...