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

When I tried to benchmark a standardized app under MRI, I found that Puma works great _if_ your app is io-bound as opposed to cpu-bound.

This makes sense because multi-threading is still a win under MRI even with the GIL, only so long as your app is io-bound (so threads can be switched out when waiting on io, for instance waiting on a db query).

Most web apps I've worked with tend to be io-bound.

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



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

Search: