DEV Community

Discussion on: Optimize Node.js performance with clustering

Collapse
 
loicbisiere profile image
Loïc Bisière

Thanks for the article.

Could you explain what is the limitation of this approach for process that need to share in-memory data? Each child process have their own in-memory isolated from the main process or is it possible to share an in-memory space between the main and the children?

What are the performances comparison if you update your code to use async strategy (eg. With promises) to avoid blocking the main thread, should you be able to process more request in parallel?