I mean, this is not new at all, there is no major version that was released AFAIK...
This is great to share that though, just curious why it's on HN today? :)
Edit: typo fix.
21–30 of 86 posts
I mean, this is not new at all, there is no major version that was released AFAIK...
This is great to share that though, just curious why it's on HN today? :)
Edit: typo fix.
Out of curiosity, why today? I mean, this is not new at all, there is no major version that was released AFAIK... This is great to share that though, just curious why it's on HN today? :) Edit: typo fix.
I like puma, but I thought it was interesting that the left passenger out of their performance graphs. Seems odd to omit the most popular ruby application server from the results.
Can anyone who's used Puma on Heroku comment on how it compares to Unicorn?
Didn't get much attention when I tried to post it to HN when I did it a couple months ago:
https://github.com/jrochkind/fake_work_app/blob/master/READM...
Earlier quoted context omitted.
Much better memory usage and (for us at least) better concurrency. We could only run 4 unicorn workers on a single dyno. But with Puma we run 16 threads with ease.
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).
https://github.com/jrochkind/fake_work_app/blob/master/READM...
Out of curiosity, why today? I mean, this is not new at all, there is no major version that was released AFAIK... This is great to share that though, just curious why it's on HN today? :) Edit: typo fix.
Agreed. I also recall seeing it on HN before, and not that long ago.
I ran a the search and found the previous:
A modern, concurrent web server for ruby (puma.io)
16 points by kachhalimbu 1 year ago | 2 comments | cachedI've been enjoying using Puma in clustered mode for some production sites, but falling back to Thin for Server Sent Events (new EventSource()) - does anyone know if this is ever likely to come to Puma, or is there a fundamental reason that the Puma process model can't support SSE?
Are you doing so with MRI/Ruby 2.0? Been considering Puma over Unicorn since it works so well for one of our JRuby apps but was wondering about how it would perform on MRI since it seems like it was never really designed with MRI in mind.
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...