如何处理服务器的可扩展性
我购买了一台在 centos6 下运行的服务器,并计算了一个未来将处理大量用户的 Web 项目的规模和可扩展性。但是,当服务器达到最大限制时,将购买另一台服务器,但如何处理?使用哪些实用程序来控制它?任何起点将不胜感激。谢谢。
I purchased a server running under centos6 and calculate its dimensions and scalability for a webproject that will handle a lot of users in a future. However, when server will reach its maximum limitations, another one will be purchased but, how to handle it? Which utilities are used to control it? Any starting point would be appreciated. Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当一台服务器饱和时,您将需要在两台(或更多)服务器之间进行缓存或负载平衡(或同时进行缓存和负载平衡)。
有专门的设备和专门的软件可以做到这一点。
我目前正在开发这样一个(软件)解决方案来满足我们自己的需求,调整我们的 Web 服务器以支持缓存和负载平衡,主要针对 PHP 和 Java 应用程序。
选择是预算和其他(技术)限制的问题,因此如果没有更多关于您的项目的知识,就无法讨论它。
When one server will be saturated, you will either need to do caching or load-balancing between your two (or more) servers (or both caching and load-balancing).
There are dedicated devices to do that, as well as specialized software.
I am currently working on such a (software) solution for our own needs, adapting our Web server to support both caching and load-balancing, mainly for PHP and Java applications.
The choice is a matter of budget and other (technical) constraints so it cannot be discussed without much more knowledge about your project.