Home Help Center

Question on registry replication/IceGrid setup

grembogrembo Member Michael GmelinOrganization: Grem Equity GmbHProject: E-Commerce platform
Hi,

would the following structure be advisable:

One registry master on a separate host, which is primarily used as an administrative entity (configure services etc.)

Many slaves, running collocated which icegridnode. Configure locator for each node to be that local registry, so all location requests stay within the node.

The collocated registries get configuration changes from the master and are only used to lookup (and on-demand start) services.

The idea is to avoid external lookup calls (network) and make sure, that each node can run its services independently of other hosts in the grid.

Will this work or do you think this will be a big mess (sessions and service allocation are not required, on-demand startup is).

Thanks
Michael

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    What are you trying to achieve here? How clients communicate wit the servers?

    While this might work, each node will still communicate with all the registry replicas. You will need to figure out how to configure the locator proxy for each client. If each node need to be isolated from each other, I would use one registry (master) per node instead... otherwise, I would deploy a master and few replicas for high availability.

    Cheers,
    Benoit.
  • grembogrembo Member Michael GmelinOrganization: Grem Equity GmbHProject: E-Commerce platform
    Hi Benoit,

    there are two things we want to achieve:

    a) Central master registry (single point for administration)

    b) Local, read-only replica on each node so that network overhead for
    communication with the registry is minimal

    As a side effect, nodes would also be self-sustaining if the central
    registry should not be available. Nodes will contain their own registry, database and everything (that way the services running on the individual nodes can operate autonomously as long as no other services are involved). Also round trip times for location lookups should be reduced. Locator configuration would be fairly simple todo. This way we could avoid having to maintain a separate registry infrastructure.

    Thanks
    Michael
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi Michael,

    The IceGrid replication wasn't really design for this setup. The current design assumes that all servers hosted by IceGrid nodes might be accessed by clients through any IceGrid registry replica. IceGrid nodes will always try to establish connections to all possible IceGrid replicas so that those replicas can access the server state information of each node.

    That being said, your setup should work. There will be communications between the different IceGrid nodes and replicas but your clients can use the "local" locator registry replica to access the servers deployed with the "local" node and there shouldn't be lookups to other registry replicas. I recommend testing it out to see if it works as you expect.

    Cheers,
    Benoit.
Sign In or Register to comment.