I am working on a Tomcat cluster experimentally because of it may be need for us production environments. It must be scaleable, high available and support as much as multi concurrent users. Because of that i made a test environment like that:
HaProxy
/ \
/ \
Tomcat 1 (7.0) Tomcat 2(7.0)
Redis 1 Redis 2
Tomcats' are load balanced on HaProxy and they replicated their sessions via Redis. Every Redis connected each others via sentinel. Finally every Tomcat and Redis bundles are a machine. For example, Tomcat 1 and Redis 1 are on same server.
At the end of this experiment lab i have some questions,
- How can i push the limits of this lab? I tried to basic applications on tomcat but i need to know limits of this cluster to discover potential failover points.
- What are potential weaknesses of this lab? What is the best practices on same issues?
- What is advantages or disadvanteges of using Web Logic or Wildfly instead of Tomcat or using Tomcat's default DeltaManager or BackupManager?
- I want to try replicate node memories to each other. Is it possible? If possible, i want to know your recommendations :)
Thanks in advance.