Is there anyway to do random server usage per request using similar semantics as the random server selection when establising the communication channel.
It would seem pointless to timeout the connection to acheive load balancing.
Actually I found this .....
-> Ice::Object proxy = communicator->stringToProxy("demo");
proxy = proxy->ice_connectionCached(false);
proxy = proxy->ice_locatorCacheTimeout(5);
would this be expensive, if used alot.

Reply With Quote
. The random endpoint selection doesn't work for proxies with only 2 endpoints. It will work if you add an additional endpoint however, try for example with the proxy: Hello -t:tcp -h localhost -p 16000:tcp -h localhost -p 16000:tcp -h localhost -p 16001