Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 02-14-2007
joel vennin joel vennin is offline
Registered User
 
Name: Joël Vennin
Organization: University Lille 1
Project: Just Testing when i have time
 
Join Date: Dec 2005
Location: France
Posts: 21
Cool IceStorm, IceGrid, Fault tolerancy

Hello Guys !

I've question around fault tolerancy, IceStorm, IceGrid.

I've a simple application that use IceStorm. However, sometimes the server hosting the IceStorm can shutdown... So the idea is to define a replica group inside IceGrid and to define a set of IceStorm.

Using both IceGrid and IceStorm doesn't resolve my problem. In fact, client and server using IceStorm should subscribe to all IceStorms available.

I would like to know the best way to do it.

Thank you.

Joël
__________________
Phd Student
- University of Lille 1 (France)
- I work on distributed simulation (i'm ask my self if i should use Ice has a backend)
Reply With Quote
  #2 (permalink)  
Old 02-14-2007
eric.hill eric.hill is offline
Registered User
 
Name: Eric Hill
Organization: Pioneer Balloon Co.
Project: Internal Research
 
Join Date: Jul 2006
Location: Wichita, KS
Posts: 25
The problem space comes down to how you want to handle the failure of your IceStorm node.

If you can tolerate a few lost messages, just have the publisher continue publishing oneway messages as you don't need a full TCP socket for that and as such you won't have to reconnect the publisher after a failure. The subscribers can simply handle the connection lost exception and gracefully attempt to reconnect every 10 seconds or so over the next 5 minutes.

If failure is not an option, can I ask why the IceStorm server is shutting down? Servers should have uptime measured in years, not days so...
__________________
Eric Hill - ijack.net
Pioneer Balloon Co.
Reply With Quote
  #3 (permalink)  
Old 02-14-2007
joel vennin joel vennin is offline
Registered User
 
Name: Joël Vennin
Organization: University Lille 1
Project: Just Testing when i have time
 
Join Date: Dec 2005
Location: France
Posts: 21
Wink

Quote:
Originally Posted by eric.hill View Post
The problem space comes down to how you want to handle the failure of your IceStorm node.
Right

Quote:
Originally Posted by eric.hill View Post
If you can tolerate a few lost messages, just have the publisher continue publishing oneway messages as you don't need a full TCP socket for that and as such you won't have to reconnect the publisher after a failure. The subscribers can simply handle the connection lost exception and gracefully attempt to reconnect every 10 seconds or so over the next 5 minutes.
I can imagine to lost message and follow your advice. However, how you catch a connection lost exception from the subscriber side ?

Quote:
Originally Posted by eric.hill View Post
If failure is not an option, can I ask why the IceStorm server is shutting down? Servers should have uptime measured in years, not days so...
It is fair, but I know pretty well laws of Murphy ...

Thank you
__________________
Phd Student
- University of Lille 1 (France)
- I work on distributed simulation (i'm ask my self if i should use Ice has a backend)
Reply With Quote
  #4 (permalink)  
Old 02-14-2007
eric.hill eric.hill is offline
Registered User
 
Name: Eric Hill
Organization: Pioneer Balloon Co.
Project: Internal Research
 
Join Date: Jul 2006
Location: Wichita, KS
Posts: 25
Quote:
Originally Posted by joel vennin View Post
I can imagine to lost message and follow your advice. However, how you catch a connection lost exception from the subscriber side?
Set up a thread that calls ice_ping on the proxy every so often. If that call fails with a ConnectionLostException, your connection is dead and needs to be reconnected.

Quote:
Originally Posted by joel vennin View Post
It is fair, but I know pretty well laws of Murphy ...
Yes, I know Mr. Murphy all too well...
__________________
Eric Hill - ijack.net
Pioneer Balloon Co.
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
Segmentation fault with Freeze Yunqiao Yin Help Center 2 02-12-2007 09:08 PM
IceStorm with IceGrid joel vennin Bug Reports 2 11-13-2006 12:26 PM
Segmentation fault in Icestorm davidcr1983 Help Center 4 08-08-2006 10:37 AM
Load balancing and fault tolerance andreynech Help Center 11 05-31-2005 06:47 PM
Icebox segmantation fault under ice 2.1.0 Nis Baggesen Help Center 3 03-15-2005 12:57 PM


All times are GMT -4. The time now is 12:09 AM.


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