Skip to main content

Questions tagged [consensus]

Consensus is the problem of reaching agreement among members of a group. Talking in terms of computing it is the agreement on a certain value that is needed for during computation by nodes that participate in a cluster. Reaching consensus in a distributed environment is a challenging task and under certain conditions not even possible. Consensus algorithms are often used for replicating a state machine as a general approach for enhancing fault-tolerance

consensus
1 vote
1 answer
35 views

Why is read repair not sufficient in making dynamo-style database linearizable?

I am reading DDIA. It says "possible to make Dynamo-style quorums linearizable at the cost of reduced performance: a reader must perform read repair (see “Read repair and antientropy” on page 178)...
Zack Light's user avatar
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
0 answers
38 views

How to restart zookeeper node in ensemble?

I'm encountering an issue when attempting to restart one of the nodes in my ZooKeeper ensemble. Despite trying various solutions found online, including starting the nodes one by one according to ...
manasa's user avatar
  • 1
0 votes
0 answers
92 views

Encountering 'This ZooKeeper instance is not currently serving requests' while starting zookeeper ensemble

I'm encountering an issue while setting up a 3-node ZooKeeper ensemble (apache zookeeper). When attempting to start ZooKeeper on one of the nodes and issuing the mntr 4-letter command, I'm receiving ...
manasa's user avatar
  • 1
0 votes
1 answer
63 views

Raft consensus with a shared log: good or bad idea?

Raft consensus protocol requires nodes to have a replicated log, and all the implementations that I'm aware of require that every node has a durable local storage to keep the log. In cloud-native ...
Igor's user avatar
  • 327
0 votes
0 answers
174 views

Consensus and execution clients communication problem in Gnosis node

I'm trying to run a node on the Gnosis blockchain. I used the link below to install Sedge, which has an interactive mode for installing the execution and consensus clients. I installed Nethermind and ...
Vahid Heidaripour's user avatar
0 votes
0 answers
74 views

Ethereum Sepolia lightclient transaction validator

I've searched for an Ethereum light-client to validate the transactions received from an API such as https://eth-sepolia.g.alchemy.com/v2/. In order to do this, I've found Helios helpful. Hence, I ...
Amin Seifi's user avatar
0 votes
0 answers
21 views

in Substrate, How to update BabeAuthorityWeight and NextAuthorities from custom pallet?

I would like to customize the POS. I did read some article about how to implement that, and used pallet_babe, my custom pallet and also pallet_staking. I found that in order to update the authorities ...
Minh K's user avatar
  • 19
0 votes
0 answers
81 views

How does RAFT handles when the leader node fails while performing a transaction and it is not completed?

I am using the RAFT consensus theorem through the Apache Ratis library. In my use case, lets say for a particular command my application performs multiple actions (logical calculation, updating new ...
Mridul Jain's user avatar
0 votes
0 answers
24 views

How to Fetch data at the time of block production In substrate?

Can I implement a pallet which holds the node information and at the block production time we can use this node information? I want to store the information of nodes on that basis we can select node ...
Deepak Chaudhary's user avatar
0 votes
0 answers
81 views

Leader election implementation for libp2p

I have a P2P system in Go using libp2p (this is in evaluation) running in a local network. This P2P system has to be provisioned with external data. The idea is to pull the data from a central server ...
k_o_'s user avatar
  • 5,960
0 votes
0 answers
120 views

Minimum number of nodes to achieve Byzantine Fault Tolerance

I'm studying distributed systems and I'm trying to understand how to achieve Byzantine fault tolerance. Aside from the specific algorithms (PBFT, ...), I'm particularly interested in the minimum ...
roberto's user avatar
  • 13
0 votes
1 answer
291 views

What major problems would I have if I use Raft Consensus Algorithm in 50+ pods?

I've been researching Raft Consensus Algorithm for a problem that I'm trying to solve, and I've decided that Raft is indeed the way to go. However, due to the nature of the environment I'm working on, ...
zgli20's user avatar
  • 9
0 votes
1 answer
142 views

How do developers manage to update new source code on blockchain due to the difficulty of distributed and decentralized consensus process

I am just wondering and struggling to understand how blockchain developers of crypto coins like BTC, ETH, etc. manage to update the code due to the consensus nature. Do they stop all nodes, so later ...
Panagiotis Drakatos'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

15 30 50 per page
1
2 3 4 5
21