开发者

How to get started with load balancing?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜