Hazelcast with hundreds of clients
If you plan an hazelcast architecture scaling up to hundreds of clients, the following points are important:
- Stability of your network environment. In AWS, hosting clients and servers in same zones will help you.
- The server should be powerful enough. CPU, number of cores etc.
- Use client near cache. It will decrease network overhead.
- Prefer version 3.2. It has more scalable client architecture.
- You can try increasing number of threads in client executor pool (default is core size * 5)
clientConfig.setExecutorPoolSize(40);
// also available in client-config.xml
Originally published at www.enesakar.com.