Load balance question on services deployed in two slaves
652398Dec 30 2010 — edited Jan 1 2011Case:
One master: 192.172.1.1
Two slaves: 192.172.2.1/192.172.2.2
There is service A deployed in slave1(192.172.2.1) and slave2(192.172.2.2). Service A will call Service B, which is also deployed in slave1 and slave2.
Condition:
If I tmshutdown -s service_A in slave1, there is a service_A alive only in slave2.
Question:
Now there is requests to service A in slave2. Whether service B in slave1 will be called by service A in slave2 or not?
My experiment proves it true. However, in my mind, the request to service A in slave2 will only call service B in slave2 not slave1. Is that wrong?
Thanks for your kindly reply.