Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Does it make sense to have more than 2 LUS / GSM?


is it possible to have more than 2 LUS / GSM in a grid? If this is technically possible, does it make sense? On the first glance the more LUS / GSM instances are in a grid, the more robust should a cluster be in a case of multiple hardware failures. Taking into account that a LUS / GSM instance has pretty low memory / CPU requirements, deploying many LUS / GSM does not add a lot of overhead.

asked 2017-05-18 01:31:33 -0500

Alexey Serdyuk gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

In most cases there isn't a need for such.

But - if you have large amount of clients or GSC/partitions running , more than 2 LUS make sense. It will scale the lookup activity and spread it across more than 2 lookup services as LUS running in active-active configuration. All LUS are active. Its not active-passive configuration.

In compute grid based environments you may have small number of GSC/partitions but huge amount of clients. In this case you may run multiple LUS, where all GSCs register themselves with all LUSs but each group of clients use different set (pair) of LUSs to interact with. This how the lookup activity is spread across the different LUS. Remember the actual lookup service used in multicast discovery mode is random , so the order os the hosts within the URL lookup locator property doesn't represent the discovery order.

With multicast lookup discovery you will have to "break" the lookups using different groups where each set of clients using different group name. The GSCs obviously will be using all groups to register themselves to all lookup services. Still - even in multicast discovery a client may get a random lookup.

The downside of running too many lookup services is inconsistently in case network disruption. With XAP 12 this has been reduced since zookeeper is used to resolve split brain situations.

In terms of running more than 2 GSMs - this is very rare case. Not sure you need such as GSM running in active-passive mode. There is only one active GSM for a running PU.

answered 2017-05-18 05:04:09 -0500

shay hassidim gravatar image
edit flag offensive delete link more


With 12.1, you have the option of using the XAP Manager, which starts the GSM, LUS and Zookeeper components together. If you are using the XAP Manager, you will need to start 3 managers. This is for consistency during failure scenarios.

See: https://docs.gigaspaces.com/xap121adm...

Dixson Huie gravatar imageDixson Huie ( 2017-05-18 08:19:18 -0500 )edit

Hi Alexey, it would make sense if you want to protect against GSM failure. Another GSM will make sure to manage active deployments in case of failover of the active GSM.

answered 2017-05-18 09:28:24 -0500

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-05-18 01:31:33 -0500

Seen: 76 times

Last updated: May 18 '17