{"id":26633224,"url":"https://github.com/garugaru/gearpump-swarm","last_synced_at":"2026-04-29T10:03:15.346Z","repository":{"id":94819385,"uuid":"107152152","full_name":"GaruGaru/gearpump-swarm","owner":"GaruGaru","description":"Deploy gearpump on a docker-swarm cluster ","archived":false,"fork":false,"pushed_at":"2017-10-18T18:19:12.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T23:02:36.052Z","etag":null,"topics":["bigdata","dataprocessing","docker","real-time","swarm"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/GaruGaru.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,"zenodo":null}},"created_at":"2017-10-16T16:12:48.000Z","updated_at":"2021-11-07T14:35:51.000Z","dependencies_parsed_at":"2023-04-30T12:15:49.030Z","dependency_job_id":null,"html_url":"https://github.com/GaruGaru/gearpump-swarm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GaruGaru/gearpump-swarm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fgearpump-swarm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fgearpump-swarm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fgearpump-swarm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fgearpump-swarm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GaruGaru","download_url":"https://codeload.github.com/GaruGaru/gearpump-swarm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fgearpump-swarm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32420356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bigdata","dataprocessing","docker","real-time","swarm"],"created_at":"2025-03-24T15:14:04.325Z","updated_at":"2026-04-29T10:03:15.340Z","avatar_url":"https://github.com/GaruGaru.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Run \u0026 Scale Apache Gearpump on a docker swarm cluster\n\n[![Codefresh build status]( https://g.codefresh.io/api/badges/build?repoOwner=GaruGaru\u0026repoName=gearpump-swarm\u0026branch=master\u0026pipelineName=gearpump-swarm\u0026accountName=garugaru\u0026type=cf-1)]( https://g.codefresh.io/repositories/GaruGaru/gearpump-swarm/builds?filter=trigger:build;branch:master;service:59e5b94a3523010001347f4a~gearpump-swarm)\n[![Docker Pulls](https://img.shields.io/docker/pulls/garugaru/gearpump.svg)]()\n[![Docker Stars](https://img.shields.io/docker/stars/garugaru/gearpump.svg)]()\n\n\n**Apache Gearpump**\n\n\tApache Gearpump is a lightweight real-time big data streaming engine\n\t\n**Docker Swarm**\n\n\tDocker Swarm is a clustering and scheduling tool for Docker containers\n\n## Docker Swarm + Apache Gearpump = ♥\n\n### Deploy gearpump cluster master + 3 workers + ui\n\n\tdocker stack deploy -c docker-compose.yml gearpump\n\n#### Web UI\n\n\thttp://dockerhost:8090/\n\n#### Submitting an application\n\nIn order to submit a new application you can use the web ui or mount a volume on the master container and use the deploy command:\n\n\tbin/gear app -jar applications/your-app.jar your.main.class \n\n#### Scaling Workers\n\nTo scale your workers just use the docker-swarm command, new workers will be automatically configured and registered on the cluster\n\n\t docker service scale gearpump_gearpump-worker=\u003cWorkers\u003e \n\t\n### Performances\n\nThe current setup is able to reach **200.000+ msg/sec** with the base example application in a 3 nodes ( 2 core, 2 gb memory) cluster (2 workers, 1 master)\n\t\n\n### Example docker swarm stack\n\n\n\tversion: '3'\n\n\tservices:\n\n\t  gearpump-master:\n\t    hostname: gearpump-master\n\t    image: garugaru/gearpump:b1880f4\n\t    entrypoint: ./entrypoint.sh\n\t    command: ./bin/master -ip gearpump-master -port 3000\n\t    environment:\n\t\t- MASTERS=[\"gearpump-master:3000\"]\n\t\t- HOSTNAME=gearpump-master    \n\t    deploy:\n\t\tmode: replicated\n\t\treplicas: 1\n\n\t  gearpump-ui:\n\t    image: garugaru/gearpump:b1880f4\n\t    entrypoint: ./entrypoint.sh\n\t    command: ./bin/services\n\t    environment:\n\t\t- MASTERS=[\"gearpump-master:3000\"]\n\t    ports:\n\t      - \"8090:8090\"\n\t    depends_on:\n\t\t- gearpump-master\n\t    deploy:\n\t\tmode: replicated\n\t\treplicas: 1\n\n\t  gearpump-worker:\n\t    hostname: \"{{.Node.Hostname}}\"\n\t    entrypoint: ./entrypoint.sh\n\t    image: garugaru/gearpump:b1880f4\n\t    command: ./bin/worker \n\t    environment:\n\t\t- MASTERS=[\"gearpump-master:3000\"] \n\t    depends_on:\n\t\t- gearpump-master\n\t\t- gearpump-ui\n\t    deploy:\n\t\tmode: replicated\n\t\treplicas: 3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarugaru%2Fgearpump-swarm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarugaru%2Fgearpump-swarm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarugaru%2Fgearpump-swarm/lists"}