I. What is Squid?
Squid is a software used to buffer Internet data. In this way, it implements its function by accepting requests from the target (object) that people need to download and processing these requests as appropriate. That is to say, if
Use lvs keepalived to configure redis high availability and load balancing, lvsredisRequirement
We use elasticsearch for log service. The architecture is upstream data source => redis => logstash => ES
Redis is still a single point of use, and there
Requirement
We use elasticsearch for log service. The architecture is upstream data source => redis => logstash => es
Redis is still a single point of use, and there is no high availability. Now there is more and more data. If downstream consumption
3.6,IpvsPacket transmission
The packet in ipvs connection is sent by ip_vs_bind_xmit ()(Net \ netfilter \ ipvs\Ip_vs_conn.cMedium)Function Definition. Specific function definition for sending data packetsInNet \ netfilter \ s \ ip_vs_xmit.cFile
Http://hi.baidu.com/amy_yeni/blog/item/c54003004d9a080b738da5b3.html
Some layers of Linux kernel IPv4 networks:
BSD Socket Layer:This part handles BSD socket-related operations. Each socket is represented in a struct Socket Structure in the kernel.
Doc1:/proc/sys/net DirectoryAll TCP/IP parameters are located in the/proc/sys/net directory (note that modifications to the contents of the/proc/sys/net directory are temporary and any modifications will be lost after the system restarts).
The SYSCTL command is used to configure and display kernel parameters in the/proc/sys directory. If you want to save the parameters for a long time, you can do so by editing the/etc/sysctl.conf file. command format: sysctl [-n] [-e]-W
Directory:
LVS three-mode configuration
Comparison of advantages and disadvantages of LVS three working modes
LVS three-mode configuration
Brief configuration of LVS three (LVS-DR, LVS-NAT, LVS-TUN) Modes
What is LVS:
Directory
1. Linux Kernel Parameter Annotation
2. Two Kernel Parameter Modification Methods
3. kernel Optimization Parameter production Configuration
Parameter explanations are collected and organized on the network. Common optimization parameters
sysctl command and Linux kernel parameter adjustment The SYSCTL command is used to configure and display kernel parameters in the/proc/sys directory. If you want to save the parameters for a long time, you can do so by editing the/etc/sysctl.conf
It mainly analyzes the items in/etc/sysctl. conf in detail. All the content is collected and sorted through the network for your convenience.
System Optimization items:
Kernel. sysrq = 0
# Use the sysrq key combination to understand the current
Brief introductionThere are many ways to improve server performance, such as dividing picture servers, master-slave database servers, and Web server servers. However, with limited hardware resources, the maximum performance of the squeezing server
Article Title: there are too many time_wait connections in LINUX. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open
Docker Kernel Parameter OptimizationThere is a big difference between docker container optimization and normal Linux optimization. Modify the maximum number of files (open files) and directly modify the/etc/security/limits of the container. which of
/proc/sys/net DirectoryAll TCP/IP parameters are located in the/proc/sys/net directory (note that modifications to the contents of the/proc/sys/net directory are temporary and any modifications are lost after the system restarts), such as the
I have learned how to build LVS + Keepalived Server Load balancer over the past two days. There are many online tutorials, But I have encountered many problems when I start to work.
Now I want to share with you my own setup process and
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.