nginx +龙卷风,适用于 CPU 密集型服务器
我有一个设置,其中使用龙卷风网络服务器的三个实例(进行CPU密集型计算),并且让它监听三个端口。我使用nginx来平衡三个端口之间的负载。
- 这是一个实验设置,所以它有明显的问题吗?
我在这里寻找的不是问题的解决方案;而是问题的解决方案。我只是想知道这样的设置是否最终会导致将来出现任何类型的扩展问题。
I have a setup in which I use three instances of a tornado webserver(which does cpu intensive computation) and i have it listen on three ports. I use nginx to balance the load among the three ports.
- This is an experimental setup so is there something obviously wrong with it?
What I am looking for here is not a solution to a problem; I just wish to know if such a setup might end up causing any kind of scaling issues in the future.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
老实说,我怀疑除了在一个端口上监听之外,它不会真正扩展。
更好的方法就像我在这里概述的那样: https://github.com/chaselee/tornado-linode< /a>
有关如何设置的实际说明位于自述文件中。
希望有帮助!
I suspect it won't really scale beyond having it listen on one port to be honest.
A better approach would be something like I outlined here: https://github.com/chaselee/tornado-linode
The actual directions on how to set it up are in the Readme.
Hope that helps!