{"id":19326081,"url":"https://github.com/jelastic-jps/tomcat-cluster","last_synced_at":"2025-04-22T20:32:25.776Z","repository":{"id":52437584,"uuid":"348002928","full_name":"jelastic-jps/tomcat-cluster","owner":"jelastic-jps","description":"Apache Tomcat/TomEE Cluster with Automatic Scaling","archived":false,"fork":false,"pushed_at":"2023-10-04T12:20:27.000Z","size":161,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-02T04:01:41.753Z","etag":null,"topics":["autoscaling","cluster","clustering","containers","docker","high-availability","jakartaee","javaee","loadbalancing","scaling","tomcat-configuration","tomcat-scalable-java","tomcat-server"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jelastic-jps.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-15T14:31:41.000Z","updated_at":"2022-12-14T03:51:32.000Z","dependencies_parsed_at":"2024-11-10T02:12:30.289Z","dependency_job_id":"52ab1279-6c76-46b5-afbb-294b6f4d3f35","html_url":"https://github.com/jelastic-jps/tomcat-cluster","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelastic-jps%2Ftomcat-cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelastic-jps%2Ftomcat-cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelastic-jps%2Ftomcat-cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelastic-jps%2Ftomcat-cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jelastic-jps","download_url":"https://codeload.github.com/jelastic-jps/tomcat-cluster/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250318915,"owners_count":21411010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autoscaling","cluster","clustering","containers","docker","high-availability","jakartaee","javaee","loadbalancing","scaling","tomcat-configuration","tomcat-scalable-java","tomcat-server"],"created_at":"2024-11-10T02:12:26.802Z","updated_at":"2025-04-22T20:32:25.539Z","avatar_url":"https://github.com/jelastic-jps.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"left\"\u003e\n\u003cimg src=\"images/tomcat-tomee-logo.png\" width=\"150\"\u003e\n\u003c/p\u003e\n\n# Tomcat/TomEE Auto-Clustering\n\nThe Apache Tomcat/TomEE remain popular over the years and work great in a clustered environment ensuring required level of high availability and scalability while hosting your applications. You can easily deploy such a cluster avoiding a setup complexity and even providing load balancing to efficiently distribute incoming traffic.\n\n## Tomcat/TomEE Cluster Topology\n\nDue to the native Tomcat clustering architecture, its topology includes two node groups:   \n\n- Scalable **Load Balancer(LB)** - intended to process all incoming requests, sent to the cluster, and distribute them between *Worker* nodes\n- Scalable *Worker* **Node 1..N** - application servers to run the required app and web services\n\n\u003cp align=\"left\"\u003e\n\u003cimg src=\"images/tomcat-tomee-topology.png\" width=\"350\"\u003e\n\u003c/p\u003e\n\nCurrent implementation of Jelastic scalable Tomcat/TomEE cluster is built on top of Docker containers. This ensures additional reliability through operating each node as an isolated instance and enables simple [container update](https://docs.jelastic.com/docker-update) procedure. \n\nUpon cluster deployment, you will get the already configured and ready-to-work Apache Tomcat/TomEE cluster in the Cloud, that comprises 2 Tomcat/TomEE application servers (workers) and NGINX load balancer by default. \n\n## Automatic Scaling and Clustering Configuration \n\nTomcat/TomEE cluster is configured to scale automatically. The appropriate modifications are automatically applied to  _Load Balancer_ configs and all cluster instances,  registering and configuring new *Worker* nodes.\n\nIn case you’d like to setup scaling strategy for your cluster, refer to the appropriate triggers parameters within the [Automatic Horizontal Scaling](https://docs.jelastic.com/automatic-horizontal-scaling) settings section.\n\n## Cloud Hosting Deployment\n\n### Public Cloud\n\nTo instantly host your own scalable Tomcat/TomEE cluster, click the **DEPLOY TO JELASTIC** button below. Within the opened frame, specify your email address, choose one of the [Jelastic Public Cloud providers](https://jelastic.cloud/) and press **Install**.\n\n\n[![Deploy](images/deploy-to-jelastic.png)](https://jelastic.com/install-application/?manifest=https://raw.githubusercontent.com/jelastic-jps/tomcat-cluster/main/manifest.jps)\n\n### Private Cloud\n\nIf working within Jelastic Private Cloud, copy link of the [*_manifest.jps_*](https://raw.githubusercontent.com/jelastic-jps/tomcat-cluster/main/manifest.jps) file above and [import](https://docs.jelastic.com/environment-import) it to the required Jelastic installation. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjelastic-jps%2Ftomcat-cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjelastic-jps%2Ftomcat-cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjelastic-jps%2Ftomcat-cluster/lists"}