Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-14-2008
aozarov aozarov is offline
Registered User
 
Name: Arie Ozarov
Organization: hi5 Networks
Project: SOA
 
Join Date: Mar 2008
Posts: 39
What is the best setup for minimizing the effect when a grid node is down

When a grid node is down (crush, maintenance) what is the best strategy to minimize its effect on the clients (and save useless connection establishment tries). I should mention that we would like to distribute the load across the replicated nodes as much as possible and therefore would prefer not to cache the connection on the proxy and use the random selection strategy (as described in the manual section 37.3). I am aware that we can configure a frequent registry lookup to refresh the endpoints but wonder how quick the registry will be aware of the unavailability of the node and will it not include its endpoints. Also I wonder if there is a concept of "bad endpoint" which are not used temporarily in case of consecutive failures . Any other suggestions?
Thanks,
Arie.
Reply With Quote
  #2 (permalink)  
Old 03-14-2008
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,541
How quickly the registry detects that a node is down depends on the IceGrid.Registry.NodeSessionTimeout property, see the Ice manual for more information on this property. Once the registry detects that a node is down, it won't return endpoints for servers deployed on this node.

Ice doesn't have any concepts of "bad endpoints". If you have a commercial interest in such a feature please contact us at info@zeroc.com.

To minimize connection attempts to invalid endpoints, you'll need to configure the client to lookup for server endpoints with the registry often and configure the registry node session timeout to a suitable value in order to detect shutdown nodes in a timely manner.

Cheers,
Benoit.
Reply With Quote
  #3 (permalink)  
Old 03-14-2008
aozarov aozarov is offline
Registered User
 
Name: Arie Ozarov
Organization: hi5 Networks
Project: SOA
 
Join Date: Mar 2008
Posts: 39
Thanks!
I assume once the node is up again the registration (with the registry) is immediate (provided icegridnode is configured to run upon machine reboot)?
Reply With Quote
  #4 (permalink)  
Old 03-14-2008
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,541
Yes, the node establishes a session with the registry on startup.

Cheers,
Benoit.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow grid start - node seems to be unreachable Wilko Help Center 21 03-07-2008 06:11 PM
connection setup time Greenhippo Help Center 4 07-23-2007 06:42 PM
effect of IceStorm.Send.Timeout in Ice3.2 borax00 Help Center 5 03-30-2007 10:03 AM
How to setup server cluster fitzharrys Help Center 2 06-27-2005 09:37 AM
Eclipse Setup for Ice Bytenik Help Center 6 06-23-2005 02:35 AM


All times are GMT -4. The time now is 08:31 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.