V S P
2009-04-21 10:48:11 UTC
Hi,
I am working on a simple
'load balancing' for my client side.
I have servant object's named 'OTRQ'
when they register with the naming service they register
as OTRQ__hostnm__ProcessId
Then the client asks the naming service for a list of registered
servants (hopefully the naming convention above makes them unique -- I
could not come up with anything 'brigher' that this)
And then it randomly selects one -- and works with that.
The problem is, when traversing the list of servants I see dead
servants (that is those processes are not running)
-- I do not want them. When I restart the servants, of course,
the chance that they will bind to a 'dead' name is slim (but I still
support it by calling rebind).
Is there something I can configure in the naming service to
'automagically remove' dead servants as soon as possible?
or is there a more standard load-balancing scheme?
omni 4.1.3
thank you,
Vlad
I am working on a simple
'load balancing' for my client side.
I have servant object's named 'OTRQ'
when they register with the naming service they register
as OTRQ__hostnm__ProcessId
Then the client asks the naming service for a list of registered
servants (hopefully the naming convention above makes them unique -- I
could not come up with anything 'brigher' that this)
And then it randomly selects one -- and works with that.
The problem is, when traversing the list of servants I see dead
servants (that is those processes are not running)
-- I do not want them. When I restart the servants, of course,
the chance that they will bind to a 'dead' name is slim (but I still
support it by calling rebind).
Is there something I can configure in the naming service to
'automagically remove' dead servants as soon as possible?
or is there a more standard load-balancing scheme?
omni 4.1.3
thank you,
Vlad
--
V S P
***@fastmail.fm
--
http://www.fastmail.fm - Faster than the air-speed velocity of an
unladen european swallow
V S P
***@fastmail.fm
--
http://www.fastmail.fm - Faster than the air-speed velocity of an
unladen european swallow