'How can I run each room as a separate node js thread in socket.io?

I want to make each socket.io room as a separate node js process. Because my node app gets more CPU on a single thread, So is there any way to address my problem by implementing a child process or several threads in socket.io? Please assist us to resolving this. Thank you in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source