开发者

How to get started with load balancing?

开发者 https://www.devze.com 2023-01-15 05:45 出处:网络
I have an JSP/Servlet web app that runs on one server. While this server holds up for now, I would like to add another server which wil开发者_开发知识库l also give me the advantage of taking one down

I have an JSP/Servlet web app that runs on one server. While this server holds up for now, I would like to add another server which wil开发者_开发知识库l also give me the advantage of taking one down for maintenance/upgrade etc.

The problem: I have no idea how to do this. How do I get a request that goes to a specific ip to go to two two different boxes depending on the load of the servers?


You could start with a software load balancer - see HAProxy for an example that's pretty easy to set up.

0

精彩评论

暂无评论...
验证码 换一张
取 消