Hacker News new | past | comments | ask | show | jobs | submit login

Why 2 CPUs? Isn't the Ruby interpreter single-threaded like Python and JavaScript?



An introduction to forking web servers and multi-process concurrency is outside the scope of this comment thread, but the general idea is that you can run multiple processes per server, and each process can handle connections independently without needing to handle concurrency itself. Threading is only one way of achieving concurrency




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

Search: