attain icon indicating copy to clipboard operation
attain copied to clipboard

Question: Is it possible to run server in cluster mode like in node.js?

Open devalexqt opened this issue 4 years ago • 5 comments

Hi! Do we have any alternative in deno to run server on all available CPUs in parallel, like cluster/pm2 module in node.js?

devalexqt avatar May 28 '20 21:05 devalexqt

I couldn't find that yet... even if they have, I need documentation for proper use cases and usages.

aaronwlee avatar May 28 '20 22:05 aaronwlee

This is similar to a load balancer that shares a port for multiple instances of a server-side script.

devalexqt avatar May 28 '20 23:05 devalexqt

If you really need it for now, then I recommend using the Kubernetes

aaronwlee avatar May 28 '20 23:05 aaronwlee

Thanks, not now but for future.

devalexqt avatar May 28 '20 23:05 devalexqt

https://github.com/denoland/deno/issues/5965

devalexqt avatar May 31 '20 21:05 devalexqt