Archived
This forum has been archived. Please start a new discussion on GitHub.
a question about multiple addresses
Hi all
I noticed the ice support mulitple addresses for proxy like:
ic.stringToProxy("Servicename:tcp -h host1 -p p1 -h host2 -p p2")
and communicator may randomly choose one of the addresses. I want to know what happen if one of the nodes is down (assume there are two nodes and one of them is normal and another one is malfunction). Does communicator pick up another one automatically? or I need to do it manually.
Thanks
GELIN YAN
I noticed the ice support mulitple addresses for proxy like:
ic.stringToProxy("Servicename:tcp -h host1 -p p1 -h host2 -p p2")
and communicator may randomly choose one of the addresses. I want to know what happen if one of the nodes is down (assume there are two nodes and one of them is normal and another one is malfunction). Does communicator pick up another one automatically? or I need to do it manually.
Thanks
GELIN YAN
0
Comments
-
Have a look at Automatic Retries - Ice 3.4 - ZeroC and Connection Establishment - Ice 3.4 - ZeroC. This explains when and how the Ice runtime will try multiple endpoints.0