The four layers of monitoring supported are TCP protocol listening and UDP protocol listening 。 - TCP transport layer protocol: establish a connection with high reliability and fast transmission speed. Most network connections use this protocol for scenarios with high reliability and data accuracy requirements and relatively low transmission speed, such as email, remote login, and some simple Web applications.
- UDP transport layer protocol establishes a connection with low reliability. The transmission speed is very fast, and the real-time requirements are high, and the reliability requirements are low, such as news push, message notification, etc.
Configure TCP listening Configure UDP listening Parameter description: Front end protocol [port] The front-end protocol and port used to receive requests and forward requests to the back-end server. The range is 1-65535. be careful: In the same load balancing instance, front-end ports cannot be duplicated. Back end protocol [port] The back-end ECS is open to the back-end port for receiving load balancing requests, which is the same as the front-end protocol, with a range of 1-65535. Bandwidth peak In a load balancing instance, it is used to limit the traffic of different monitors. The total peak listening bandwidth of an instance cannot exceed the purchased bandwidth of the instance. When the listening bandwidth is not limited, the total bandwidth of each listening shared instance. Network bandwidth description>> scheduling algorithm It is the scheduling policy of load balancing for requests. Load balancing supports two scheduling algorithms: weighted polling and weighted minimum connections. Weighted polling: The request is allocated according to the weight value set by the backend server. The higher the weight value, the more times it is allocated. Weighted minimum connections: In addition to the weight value to allocate requests, the number of connections to the back-end server is also considered. When the weight value is the same, the backend server with the smaller number of current connections will be assigned to the request. Use Server Groups User defined virtual server groups are forwarded to different servers on the back end of load balancing according to different forwarding requirements, so as to make load balancing more personalized and flexible. Configure Server Group>> be careful:
- Turn on the usage server group. This listener will forward traffic to the selected server group. If there are other servers on the backend of the instance, other servers will no longer receive traffic;
- Turn off the usage server group. This listener will forward traffic to all back-end servers.
Automatically start listening after creation Whether to enable the listening immediately after it is created. It is recommended to enable it immediately. Session Persistence Whether session persistence is enabled. Session persistence can forward session requests from the same client to the same backend server at a certain time. TCP listening maintains sessions based on IP addresses. UDP listening does not support this function. To enable this function, you need to set the duration of the session. If the duration exceeds this threshold, you will be disconnected if there is no new request in the session. The range is 10-900 seconds. |