Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 06-27-2005
fitzharrys fitzharrys is offline
Registered User
 
 
Join Date: Oct 2004
Posts: 8
How to setup server cluster

I want to be able to use ICE with cluster of servers, so that I can transparently add or remove servers from the cluster as required, according to load. The clients should not be aware of any change.

What is the best to do this with ICE?
Reply With Quote
  #2 (permalink)  
Old 06-27-2005
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,534
Hi,

Currently the easiest way to do this is at the application level through the use of an interface to get a proxy of a replica or a proxy containing the endpoints of multiple replicas. The implementation of this interface would take care of keeping track of the replicas and the load balancing.

In the near future, IceGrid will provide support for replication with indirect proxies which will allow you to do just that. Your client will use an indirect proxy (a proxy without endpoint information). The endpoints of this proxy will be resolved at runtime by the IceGrid service. See the second issue of the Ice newsletter for more information on IceGrid!

Benoit.
Reply With Quote
  #3 (permalink)  
Old 06-27-2005
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,534
Btw, I should also note that IcePack also provides a simple interface to discover a service, the IcePack::Query interface (see slice/IcePack/Query.ice). You can use the IcePack::Query::findObjectByType method to retrieve a proxy for an object with a given type. If several servers registered an object with this type (using the IcePack deployment mechanism for example), IcePack will return a randomly selected proxy.

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
IceSSL setup ca with python tools tkrieger Help Center 1 10-24-2006 05:32 AM
Eclipse Setup for Ice Bytenik Help Center 6 06-23-2005 02:35 AM
How to setup IceStorm to push via UDP. JohnB Help Center 3 02-11-2005 08:51 PM


All times are GMT -4. The time now is 01:54 PM.


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.