Comments (5)
Is there any update on this? I'm keen to run a zookeeper ensemble across a Docker Swarm. It's unclear how to set the required variables (ZOO_MY_ID, ZOO_SERVERS) when deploying a stack either globally or using replicas. Any feedback would be much appreciated.
from zookeeper-docker.
The solution for dynamic scaling will be pretty complicated. You would have to use Consul
as a service registry and Consul Template
to change Zookeeper configuration when new container is added or an existing container removed. And then you also have to restart all your Zookepers because prior to version 3.5 it doesn't support dynamic reconfiguration.
A similar solution for scaling Nginx is described in this article.
But it general it seems like dynamic scaling isn't that useful for Zookeeper for several reasons
- It doesn't scale for writing. In fact addind new nodes increase reliability at the cost of write speed.
- Usually you decide how many node failures you'd like to tolerate in advance. And often it's no use of running more than 5 nodes.
from zookeeper-docker.
I guess that's what folks from Bandsintown did in their fork.
from zookeeper-docker.
Implementing dynamic scaling has become a bit easier with the introduction of the 3.5.3-beta
tag. Because starting from 3.5 Zookeeper now supports dynamic reconfiguration.
from zookeeper-docker.
Closing it because the issue seems to be inactive for quite some time now.
from zookeeper-docker.
Related Issues (20)
- Zookeeper 3.5.10 image HOT 1
- Zookeeper Vulnerability Analysis HOT 1
- Upgrade to JRE 17, pin Ubuntu release HOT 1
- Update jackson-databind to resolve high security vulnerabilities (2.13.1 to 2.13.4.1) HOT 1
- override parent docker image from alpine to ubi8
- Please Publish 3.8.1 HOT 1
- Add s390x to docker official image HOT 1
- with replicas 3, it wont work HOT 1
- Add ppc64le to docker official image HOT 2
- Upgrade to 3.9.0 HOT 1
- Failed to pull image "zookeeper:3.9.0": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/library/zookeeper:3.9.0": no match for platform in manifest: not found HOT 3
- zookeeper docker 3.9.0 HOT 1
- JSON logging HOT 2
- Zookeeper 3.7.2, 3.8.3 and 3.9.1 tags needed ASAP HOT 2
- Zookeeper switched from log4j to Logback in v3.8.2 HOT 3
- New tag suggestion: stable
- How do I run zookeeper3.7.2 like the official documentation
- Re-releasing Docker images with the same number causes issues HOT 2
- JVM crashes with out of memory HOT 2
- 3.8.4 and 3.9.2 released, will we release new docker tags? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zookeeper-docker.