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

分片上传遇到分布式服务器如何处理? #2

Open
liaojunhao opened this issue Jun 28, 2020 · 1 comment
Open

分片上传遇到分布式服务器如何处理? #2

liaojunhao opened this issue Jun 28, 2020 · 1 comment

Comments

@liaojunhao
Copy link

如果上传接口遇到的nginx的负载均衡,会把分片分配到不同的机子上,这样合并文件的时候就会有问题,对于这个如何处理好?

@yangguansen
Copy link

如果上传接口遇到的nginx的负载均衡,会把分片分配到不同的机子上,这样合并文件的时候就会有问题,对于这个如何处理好?

这个问题其实是负载均衡如何实现会话保持,可以考虑ip_hash,或者其他会话保持的方案。

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