4 ms·
How about clustering the Node server? By default, node uses only one process. Making the server use all available processes requires a bit more work (see https:
by fzaninotto 10y ago
How about clustering the Node server? By default, node uses only one process. Making the server use all available processes requires a bit more work (see https://nodejs.org/docs/latest/api/cluster.html https://nodejs.org/docs/latest/api/cluster.html or https://github.com/Unitech/pm2 https://github.com/Unitech/pm2) but will probably do more justice to Node.js vs Python.
- 1st1 10y ago> but will probably do more justice to Node.js vs Python. How so? Clustering for node just makes it run in several OS processes. You can (and should) do the same for Python code, it's easy.