In a load balanced environment: How likely is it for two subsequent calls from a given component to arrive at the same server?
Let me explain: If component A calls component B, which then fails, and Component A retries the call to Component B, how likely is it for the same machine to be accessed for component B?
Let's assume that the software is written to use transactions and the above scenario would all be happening in a single session. I.E. something called Component A, and is still waiting for a reply after Component B is called for the second time.
Also, we are assuming that all calls to all components go via the load balancing service and that all machines in the cluster have all components installed on them.
Effectively, I would like the second call to try a different machine, rather than retrying the same machine. Would I have to do my own manual load balancing? (please say no!!! ;-)
Any help, guidance and feedback would be much appreciated.
Thanks