Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这个项目采用docker+pm2 部署多核CPU的话是不是就不需要部署多个docker容器了 #47

Open
lsj980Ya opened this issue Apr 25, 2024 · 1 comment

Comments

@lsj980Ya
Copy link

对部署这一款比较迷茫,采用docker+pm2 是不是就不需要部署多个docker容器了(针对多核CPU的情况)

@songzhengxu
Copy link

不冲突 docker容器可以配置使用多核,然后通过pm2在容器中启动多个进程
同时启动多个docker来负载均衡。 但是需要做好session和缓存共享

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants