Puma: A Ruby Web Server Built For Concurrency
1–10 of 26 posts
Re: Puma: A Ruby Web Server Built For Concurrency
#2What about this product makes it better than the other options?
Re: Puma: A Ruby Web Server Built For Concurrency
#3Re: Puma: A Ruby Web Server Built For Concurrency
#4Re: Puma: A Ruby Web Server Built For Concurrency
#5I'ven't looked at the code base, but I don't get how you're allowing true concurrency without any evented framework?
https://github.com/evanphx/puma/blob/master/lib/puma/thread_...
Re: Puma: A Ruby Web Server Built For Concurrency
#6Re: Puma: A Ruby Web Server Built For Concurrency
#7I have it running on my Heroku instance for a day or so with no issues, though I don't get any traffic yet. :)
Re: Puma: A Ruby Web Server Built For Concurrency
#8I'ven't looked at the code base, but I don't get how you're allowing true concurrency without any evented framework?
The same way every non-evented codebase does. Threads. https://github.com/evanphx/puma/blob/master/lib/puma/thread_...
Re: Puma: A Ruby Web Server Built For Concurrency
#9tl;dr it parses HTTP headers with Ragel, which is a really nice idea; the state machine part is a yummy bite.
Re: Puma: A Ruby Web Server Built For Concurrency
#10Puma uses a thread pool to handle requests. The only other Ruby web servers I know of that do this are Rainbows!, and Zbatery, and they're a bit obscure, unfortunately. Unlike Thin, EventMachine is not used. I have it running on my Heroku instance for a day or so with no issues, though I don't get any traffic yet. :)