Skip to main content

All Questions

0 votes
0 answers
19 views

Does zookeeper preserver order when moving sessions?

In the zookeeper book it says: When a client creates a ZooKeeper handle using a specific language binding, it establishes a session with the service. The client initially connects to any server in ...
codefast's user avatar
0 votes
2 answers
96 views

Doesn't Paxos end up with the same instructions in the exact same order?

I am trying to understand why ZAB is required when Paxos does the same thing. I read multiple documentations and articles and all summed up that Zookeeper requires the instructions to be in the exact ...
Omkar Kulkarni's user avatar
0 votes
1 answer
90 views

Legal Hierarchical Quorums in Zookeeper

I am trying to understand hierarchical quorums in Zookeeper. I may not understand the example shown in the documentation (here). Are votes [from at least two servers from each of two different groups] ...
dengzeyuan's user avatar
1 vote
0 answers
54 views

Managing Configuration Across Many Instances of Applications

Disclaimer: I as well as my company are new to developing cloud applications / distributed systems, so this question might have an obvious solution that I'm not aware of. Summary of Problem We are ...
deruitda's user avatar
  • 580
1 vote
1 answer
327 views

Confused about the consistency guarantee of zookeeper (Sequential vs Eventual Consistency)

As I understand, Zookeeper enforces "sequential consistency" which states any execution is the same as if all read/write ops were executed in some global ordering. Basically, a client may ...
EdH's user avatar
  • 105
0 votes
0 answers
481 views

Zookeeper (Curator framework) : explicitly giving up the leaderLatch

Background I have a web-socket consumer running on 1 of my backend servers. To keep this system HA, i want to keep 2 more standby machines in the setup. Expectation is -> 1 of the standby VM ...
Harshit's user avatar
  • 1,214
0 votes
1 answer
654 views

Why do we need to use Zookeeper for a Coordination Service instead of just a central database?

Quoting the zookeeper docs ZooKeeper is a distributed, open-source coordination service for distributed applications. It exposes a simple set of primitives that distributed applications can build ...
matrixisreal's user avatar
0 votes
0 answers
86 views

Maintain status history leader or not leader using Apache Curator ( or any other way)

Background Deployment system uses minimum 2 instances to deploy job. But only 1 is needed. So planning to use Apache Curator for leader election. So only 1 instance will launch the job and other will ...
Albatross's user avatar
  • 669
2 votes
2 answers
524 views

Consensus Service vs Lock Service?

Going through the Google's Chubby Paper, Like a lock service, a consensus service would allow clients to make progress safely even with only one active client process; a similar technique has been ...
Rohitashwa Nigam's user avatar
0 votes
1 answer
464 views

How do I manage that the different nodes in a distributed scheduler picks unique events?

I have a distributed job scheduler running on three machines which picks events from a database (elastic search). The problem that I am facing is sometimes all the nodes pick the same events. That is ...
Aman Kush's user avatar
1 vote
0 answers
116 views

How does zookeeper internally achieve data consistency among leader and follower when leader fail

Apache Zookeeper documentation described steps about how to implement a distributed lock, steps are: Call create() with the sequence and ephemeral flags set. Call getChildren(), check if the data ...
Bin's user avatar
  • 990
4 votes
2 answers
5k views

Do you need multiple zookeeper instances to run a multiple-broker kafka?

I'm new to kafka. Kafka is supposed to be used as a distributed service. But the tutorials and blog posts i found online never mention if there is one or several zookeeper nodes. The tutorials just ...
negimaster's user avatar
1 vote
1 answer
1k views

Kafka Static IP and Service Discovery

I have a three node Kakfa cluster that also has a three node Zookeeper ensemble managing it. My configuration for this cluster looks like Node 1 IP - 192.168.1.11 Kafka Port - 9092 Zookeeper Port - ...
nick2225's user avatar
  • 555
1 vote
0 answers
1k views

HBase installation in cluster - Master is initializing error

I am installing a multi node HBase cluster - 3 master and 3 region servers. After installation, all the nodes are up and connected, the HBase UI, everything connected and all fine. I am able to HBase ...
Jithesh Gopinathan's user avatar
1 vote
1 answer
238 views

How to design a system that can manage configurations in a dynamic way efficiently?

I am working on designing a system where I need to manage configuration (config files) in a dynamic way across bunch of application servers. I am working with Consul key value store to manage ...
dragons's user avatar
  • 579

15 30 50 per page