How many active threads can the node.js handle handle

I need to track a bunch of twitter streams (using the streaming twitter API) in node.js. Which approach would be “better”?

  • Running multiple processes, 1 process per thread
  • Run 1 process that processes all threads

At this moment, I don’t know how many threads I will have, but ideally, the setup should be able to scale to 10,000+ open threads.

Edit for larger context: Most or all of the processing will be done by another server. Just watch to manage your flows in a reliable, convenient and efficient way.

+3
source share
2 answers

The answer to this question depends a lot on

  • How often tweeters tweet
  • .

, , , 1 3+ , , 1 node .

+2
  • , . , , , .
0

All Articles