Linuxlvs Application Experience-Linux Enterprise Application-Linux server application information. The following is a detailed description. There are a lot of online articles on lvs installation and configuration. Here we will write some of The lvs cluster's two-year application experience. You are welcome to give your valuable comments:
Application Environment:
Front-End Server (Load balancer): Xeon (TM) CPU 3.00 GHz/2G
CentOS release 5 (Final), kernel: 2.6.21.5
Lvs DR: Weighted Round Robin;
Heartbeat (actually useless); mon (Monitoring real server)
Real server:
Various configurations, many pcs.
For centralized online training, users must submit assignments and post comments, primarily dynamic content. The maximum number of online users in a day is over 50 thousand.
1. lvs NAT is less efficient and has poor anti-attack capabilities. We recommend using lvs DR and lvs TUN.
2. lvs DR cannot forward data to the port. For example, it can only be 80 to 80, not 80 to 8080.
3. lvs is very stable. For some reason, load balancer has no backup system, but LB has never stopped the service.
4. When lvs LB is under attack, the load is slightly increased. The real server quickly stops responding. after a certain number of real servers are added, normal services are restored.
5. When the front-end server load is low and ipvsadm-Lnc | wc-l exceeds 100,000, the cpu usage is <10%.
If the company I work for has no objection to the copyright, the individual will not retain the copyright. You are welcome to forward it. link address:
Http://acy.blog.163.com/blog/static/30095581200861542526102/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service