Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.

Join them; it only takes a minute:

Sign up
Join the Stack Overflow community to:
  1. Ask programming questions
  2. Answer and help your peers
  3. Get recognized for your expertise

I have a node.js application which receives multiple requests concurrently from clients. If this application is running on a server with a multi-core processor, we can reap the advantages of Node.js cluster to scale-up the application by creating multiple workers which can actually be executed in parallel on a muti-core processor to manage the load.

With Node.js being single-threaded and if my application is running on a server having a single CPU, can we use cluster to scale-up the application?

share

Intel cores usually have hyper-threading, allowing two threads per core at (slightly?) slower performance. Even with a single core, you should be able to reap those benefits.

share

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.