I sent a request to the server Load balancer server. The Server Load balancer server distributes these tasks to other servers for actual response. However, I would like to ask if three or three servers have the same code or this server is the same. I sent a request to the server Load balancer server. The Server Load balancer server distributes these tasks to other servers for actual response. However, I would like to ask if three or three servers on the server are the same Code or the same server?
Reply content:
I sent a request to the server Load balancer server. The Server Load balancer server distributes these tasks to other servers for actual response. However, I would like to ask if three or three servers have the same code or this server is the same
If you use three services for load balancing, the services (codes) processed by these three servers must be the same, because the sent requests are configured with Server Load balancer (polling or least-connection mode). If each machine processes different services, the forwarded requests cannot be processed and will certainly fail.
Did you go to Google before that? Have you been to Baidu? Okay. Suppose you didn't go to Google or Baidu.
1. In Server Load balancer, all requests are sent to one server. Then, the Server Load balancer finds the least idle server to process and respond to your data.
2. You have not completed this statement. The server is the same. What then?
3. The code here is not code-oriented and does not concern.
4. let me give you a practical example. You have 10 employees, you are a manager, and I am looking for you for things. Then you can find the most available employees below to solve the problem, then, give me the result.
The server Load balancer service is used to build several servers into a cluster, so that it can carry higher loads and process more services. It is at the front end of the entire system and is used to receive user requests. After receiving user access requests, it will forward user requests to several backend servers according to certain forwarding rules. Several backend servers must maintain the same code. Otherwise, different servers will not get different results after processing.