Results 1 to 3 of 3

Thread: How to setup server cluster

  1. #1
    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?

  2. #2
    benoit's Avatar
    benoit is online now ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    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.

  3. #3
    benoit's Avatar
    benoit is online now ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Cloning machines in a cluster
    By ntt in forum Help Center
    Replies: 6
    Last Post: 05-11-2010, 10:51 PM
  2. Replies: 3
    Last Post: 03-14-2008, 05:32 PM
  3. connection setup time
    By Greenhippo in forum Help Center
    Replies: 4
    Last Post: 07-23-2007, 05:42 PM
  4. Eclipse Setup for Ice
    By Bytenik in forum Help Center
    Replies: 6
    Last Post: 06-23-2005, 01:35 AM
  5. How to setup IceStorm to push via UDP.
    By JohnB in forum Help Center
    Replies: 3
    Last Post: 02-11-2005, 07:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •