https://github.com/bluebrown/java-cluster
dockerized tomcat cluster with haproxy for service discovery and memcache for session replication
https://github.com/bluebrown/java-cluster
docker haproxy memcache tomcat
Last synced: 6 months ago
JSON representation
dockerized tomcat cluster with haproxy for service discovery and memcache for session replication
- Host: GitHub
- URL: https://github.com/bluebrown/java-cluster
- Owner: bluebrown
- Created: 2020-10-29T09:31:12.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-08T11:48:01.000Z (about 5 years ago)
- Last Synced: 2025-02-07T11:53:34.732Z (about 1 year ago)
- Topics: docker, haproxy, memcache, tomcat
- Language: Dockerfile
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java Cluster
Dockerized java environment for deployment with compose on a single node or swarm in a cluster with high availibility.
Haproxy is configuered to perform servie discovery using the docker dns server. The tomcat instances use memcache to store the session. If run as cluster via swarm, memcache can be configured with a fallback. In that case the tomcat workers will replicate their session to the fallback node to achieve high availibility for the sessions.