Next privilege 125 Rep.
Vote down
0 people reached

  • 0 posts edited
  • 0 helpful flags
  • 11 votes cast
comment We have a large Ruby on Rails application (25 million monthly users), our management decided to rewrite in Node.js, am I crazy?
It's not just about CPUs. The reason why it's important to handle every request as quickly as possible (in a single-threaded system with no other concurrency) is because the server cannot service multiple requests at once, so every request has to wait until you've finished handling all of the requests before it. Concurrency, done right, means less waiting. Use of threads is not inherently a performance drain, and single-threadedness (by default or otherwise) is not a performance advantage.