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

Yes. That's why nearly every web framework is threaded by default. That includes everything you'll find in Ruby, Python, Go, or ASP.

Not serializing IO, but them stopping every worker just because one of them has some hard work to do is not a sane working model for web backends.



It's pretty new that Rails is arguably 'threaded by default', and many/most typical deploy setups for Rails still don't run with multi-threaded request dispatch.

But yes, I agree with you that that is why every web app _should_ be threaded.


That's why you spawn worker processes and servers. Evented IO is way faster than threads as NGinX and Node have shown.




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

Search: