Questions tagged [leader]

The leader is a software application in a distributed system which provides the global coordination necessary for servers to perform transactions safely and to ensure clients are not oversubscribed.

A file server, time server, or central lock coordinator server can be known as a leader. A combination of central locks on remote procedure calls and explicit locks on file server or time server processes may be necessary to ensure data integrity in a distributed system.

References

44 questions
1
vote
2 answers

Is there a non-deterministic leader election algorithm?

I was wondering whether a non-deterministic leader election algorithm exists (in a one directional ring) that ensures termination. I cannot think of one nor can I find one that is non-deterministic. Some that I've found are: Select the node with…
Snowflake
  • 2,869
  • 3
  • 22
  • 44
1
vote
1 answer

Vim does not accept Leader key - timeout set, remapped to ",", but yet only beeps

I'm new to Vim and currently having issues with my Leader key in MacVim on OSX 10.7, freshly installed. I've tried remapping the Leader key to ",", using let mapleader="," (in my .vimrc file, at its very top), increased the timeout (to 10000ms).…
fabianh11
  • 59
  • 8
0
votes
0 answers

Re-election leader in case of crash with Leader Latch Curator

I am using leader latch Curator to implement a distributed project . The idea is that given a set of processes/threads only one should become leader and the others follow. The leader should assign tasks to the followers and they should print out the…
sara
  • 1
0
votes
0 answers

How does Kafka partition leader ensure that replica replicated message?

I read a lot of articles about Kafka and still don't understand. In a few words my questions is: is it possible, to have message in physical files in Replicas(Followers) meanwhile Partition Leader thinks that message is unacknowledged? In…
livkonrol
  • 13
  • 4
0
votes
1 answer

When should a leader set voteFor to null while receiving a voteRequest with higher term in Raft?

Here is the Raft Paper: https://raft.github.io/raft.pdf And I know every time responsing to or request for a RPC and accept a higher term, it will set its voteFor to null. in this link: In Raft distributed consensus, what do I set votedFor to? (is…
Epoch
  • 1
  • 2
0
votes
1 answer

Does kafka broker always check if its the leader while responding to read/write request

I am seeing org.apache.kafka.common.errors.NotLeaderForPartitionException on my producer which I understand happens when producer tries to produce messages to a broker which is not a leader for the partition. Does that mean each time a leader…
0
votes
0 answers

Question about Apache Curator Leader Election

I am building a distributed app in which a set of processes (running on separate machines) are working together. Each process works on its own set of "resources" (and there is no sharing of resources among the processes). When the app starts, I need…
pnndesh
  • 11
  • 2
0
votes
2 answers

Change Mesos Master Leader, cause Marathon shutdown?

Env: Zookeeper on computer A, Mesos master on computer B as Leader, Mesos master on computer C, Marathon on computer B singleton. Action: Kill Mesos master task on computer B, attempt to change mesos cluster leader Result: Mesos cluster…
0
votes
3 answers

Local register of a group leader

I try to register group_leader() locally using register( iogl, group_leader()). but it returns with bad_arg error ** exception error: bad argument in function register/2 called as register(iogl,<0.29.0>) How can i give a local symbolic name…
Ivan
  • 1,103
  • 2
  • 10
  • 15
0
votes
0 answers

leader election process on uppaal

I have such a connection in my topology: https://courses.cs.ttu.ee/w/images/e/e5/ITI0130_Lab3_IEEE1394.pdf I have written such a declaration to run a simulation on uppaal: const int N=7; const int d1=1; const int d2=2; const int d3=3; typedef…
yusuf
  • 3,591
  • 8
  • 45
  • 86
0
votes
1 answer

Netlogo Mekka Model - need directions

I'm working on this assignment for my university with Netlogo and I'm really stuck. I just started out using Netlogo and I'm trying to recreate Mekka, together with some pilgrims. I've been trying out a lot of different codes, adding new ones,…
0
votes
1 answer

Discovery service and Leader election algorithm

I've been doing some research for enhancement of in-house Discovery Service on my project. We have a number of nodes in a cluster accountable for discovery service, higly available. In order to get access to some service each client app sends a…
0
votes
6 answers

Is it the best way to have a "software development project manager" who is a great developer himself?

How does it work in the market? If possible to generalize, is it a critical point to have a project leader to be a developer himself? If he is not so much in coding, how can he understand what the rest is really talking about. If he is so much good…
pencilCake
  • 51,323
  • 85
  • 226
  • 363
0
votes
1 answer

Leader election algorithm in a directed graph

I'm trying to find a leader election algorithm given a directed graph. What I've found till now is that most LE algorithms have a ring network or a mesh topology. Can anyone suggest me some algorithms?
Amaar Bokhari
  • 169
  • 4
  • 11
1 2
3