# consensus algorithm

Published articles for consensus algorithm.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Understanding and scaling Raft

DevFeed: [Understanding and scaling Raft](<https://devfeed.tech/articles/understanding-and-scaling-raft-39636.md>)

Original publisher: [Read original article](<https://www.gauravsarma.com/posts/2025-04-04_understanding-and-scaling-raft>)

Published: 2025-04-04T00:00:00Z

Content type: tutorial

Language: en

Sources: [Gaurav Sarma's Blog](<https://devfeed.tech/sources/gaurav-sarma-s-blog.md>)

Topics: [Raft](<https://devfeed.tech/topics/raft.md>), [consensus algorithm](<https://devfeed.tech/topics/consensus-algorithm.md>), [distributed-systems](<https://devfeed.tech/topics/distributed-systems.md>), [scaling](<https://devfeed.tech/topics/scaling.md>), [CockroachDB](<https://devfeed.tech/topics/cockroachdb.md>), [Databases](<https://devfeed.tech/topics/databases.md>)

Tags: [cockroachdb](<https://devfeed.tech/tags/cockroachdb.md>), [consensus-algorithm](<https://devfeed.tech/tags/consensus-algorithm.md>), [databases](<https://devfeed.tech/tags/databases.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [raft](<https://devfeed.tech/tags/raft.md>), [replication](<https://devfeed.tech/tags/replication.md>), [scaling](<https://devfeed.tech/tags/scaling.md>)

### AI overview

This tutorial explains the Raft consensus algorithm, including leader election, log replication, safety guarantees, and the network cost of consensus. It also introduces the Multi-Raft pattern for scaling distributed databases by splitting data into ranges with independent Raft groups.

### Source excerpt

. [Understanding and Scaling Raft](understanding-and-scaling-raft-cover...

## Ultimate Go: Advanced Engineering Episode 7

DevFeed: [Ultimate Go: Advanced Engineering Episode 7](<https://devfeed.tech/articles/ultimate-go-advanced-engineering-episode-7-22193.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2022/12/ultimate-go-advanced-engineering-episode-7.html>)

Published: 2022-12-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Blockchain](<https://devfeed.tech/topics/blockchain.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [audits](<https://devfeed.tech/tags/audits.md>), [batch](<https://devfeed.tech/tags/batch.md>), [batch-insert](<https://devfeed.tech/tags/batch-insert.md>), [bulk-upload](<https://devfeed.tech/tags/bulk-upload.md>), [caching](<https://devfeed.tech/tags/caching.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [consensus-algorithm](<https://devfeed.tech/tags/consensus-algorithm.md>), [data-structures](<https://devfeed.tech/tags/data-structures.md>), [databases](<https://devfeed.tech/tags/databases.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [go-blockchain](<https://devfeed.tech/tags/go-blockchain.md>), [memory-pool](<https://devfeed.tech/tags/memory-pool.md>), [poa](<https://devfeed.tech/tags/poa.md>), [pos](<https://devfeed.tech/tags/pos.md>), [pow](<https://devfeed.tech/tags/pow.md>), [proof-of-authority](<https://devfeed.tech/tags/proof-of-authority.md>)

### AI overview

This video walkthrough explains how a proof-of-authority consensus mechanism affects a dependency manager's database throughput. It introduces a synchronized memory pool for queued records, reduces duplicate insertion work across nodes, and explains how batches of records become blockchain blocks and can be audited.

### Source excerpt

Introduction In episode 6, Bill gives an overview of what consensus algorithms are and how these algorithms ensure distributed databases are in sync. Moving forward Bill will adopt the proof of authority (PoA) algorithm as a means to determine which node has the ability to write the next record. To jog your memory, PoA is a consensus mechanism where identity is used as a stake. By implementing this algorithm, Bill will add transparency to his dependency manager as he is no longer the only user with the ability to add new records. The dependency manager now meets the teams' requirements for transparency, however, it will have low throughput since only one record can be shared and inserted at a time.

## Ultimate Go Episode 6: Blockchain Consensus Algorithms

DevFeed: [Ultimate Go Episode 6: Blockchain Consensus Algorithms](<https://devfeed.tech/articles/ultimate-go-advanced-engineering-episode-6-22192.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2022/12/ultimate-go-advanced-engineering-episode-6.html>)

Published: 2022-12-16T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Blockchain](<https://devfeed.tech/topics/blockchain.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Security](<https://devfeed.tech/topics/security.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [blockchain](<https://devfeed.tech/tags/blockchain.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [consensus-algorithm](<https://devfeed.tech/tags/consensus-algorithm.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [go-blockchain](<https://devfeed.tech/tags/go-blockchain.md>), [golang-blockchain](<https://devfeed.tech/tags/golang-blockchain.md>), [poa](<https://devfeed.tech/tags/poa.md>), [pos](<https://devfeed.tech/tags/pos.md>), [pow](<https://devfeed.tech/tags/pow.md>), [proof-of-authority](<https://devfeed.tech/tags/proof-of-authority.md>), [proof-of-work](<https://devfeed.tech/tags/proof-of-work.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

This video explains why proof of work can be inefficient as a blockchain grows, focusing on duplicated computation and energy consumption. It introduces proof of stake and proof of authority as alternative consensus algorithms and discusses their role in maintaining valid data in a distributed database.

### Source excerpt

Introduction In the last video, Bill left off talking about proof of work (PoW) algorithms. In a distributed and decentralized environment, PoW used to be the gold standard for a node to participate equitably in a Blockchain. However, with PoW as the number of nodes on the Blockchain increases, the amount of energy waste increases. This is because each node is performing the same computationally heavy calculation and only one node's energy usage is leveraged to write the next block.

## Ultimate Go: Advanced Engineering Episode 5

DevFeed: [Ultimate Go: Advanced Engineering Episode 5](<https://devfeed.tech/articles/ultimate-go-advanced-engineering-episode-5-22191.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2022/12/ultimate-go-advanced-engineering-episode-5.html>)

Published: 2022-12-16T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Blockchain](<https://devfeed.tech/topics/blockchain.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Replication](<https://devfeed.tech/topics/replication.md>)

Tags: [atomic](<https://devfeed.tech/tags/atomic.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [consensus-algorithm](<https://devfeed.tech/tags/consensus-algorithm.md>), [cryptographically-auditable](<https://devfeed.tech/tags/cryptographically-auditable.md>), [database](<https://devfeed.tech/tags/database.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [go-blockchain](<https://devfeed.tech/tags/go-blockchain.md>), [golang-blockchain](<https://devfeed.tech/tags/golang-blockchain.md>), [poa](<https://devfeed.tech/tags/poa.md>), [pos](<https://devfeed.tech/tags/pos.md>), [pow](<https://devfeed.tech/tags/pow.md>), [proof-of-authority](<https://devfeed.tech/tags/proof-of-authority.md>), [proof-of-work](<https://devfeed.tech/tags/proof-of-work.md>)

### AI overview

This video explains how to use blockchain concepts to design a distributed, auditable, synchronized, and scalable database for a dependency manager. It focuses on atomic writes, consensus, and a proof-of-work algorithm, while also discussing the inefficiency of proof of work and the emergence of proof of stake and proof of authority.

### Source excerpt

Introduction In case you missed episode 4, Bill attempted to integrate current database sharing solutions to solve the "database ownership" problem his dependency manager faces. He tried providing copies of the database, implementing a load balancer and replication. While performing these experiments, Bill identified the qualities his dependency manager's database needs to have for users to trust it. He closed episode 4 by stating that his dependency manager needs a database that is distributed, cryptographically auditable, synchronized and scalable. By implementing this Bill hoped to provide greater transparency for his dependency manager.

## Ethereum consensus-layer series rebranded as Finalized; node upgrades required for Berlin

DevFeed: [Ethereum consensus-layer series rebranded as Finalized; node upgrades required for Berlin](<https://devfeed.tech/articles/finalized-no-23-16952.md>)

Original publisher: [Read original article](<https://blog.ethereum.org/en/2021/03/11/finalized-no-23>)

Author: Danny Ryan

Published: 2021-03-11T00:00:00Z

Content type: article

Language: en

Sources: [Ethereum Foundation Blog](<https://devfeed.tech/sources/ethereum-foundation-blog.md>)

Topics: [Ethereum](<https://devfeed.tech/topics/ethereum.md>), [Protocol (disambiguation)](<https://devfeed.tech/topics/protocol.md>), [Software](<https://devfeed.tech/topics/software.md>)

Tags: [consensus-algorithm](<https://devfeed.tech/tags/consensus-algorithm.md>), [ethereum](<https://devfeed.tech/tags/ethereum.md>), [fork](<https://devfeed.tech/tags/fork.md>), [pow](<https://devfeed.tech/tags/pow.md>), [proof-of-work](<https://devfeed.tech/tags/proof-of-work.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [research-development](<https://devfeed.tech/tags/research-development.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>), [upgrades](<https://devfeed.tech/tags/upgrades.md>)

### AI overview

The article announces that the blog series formerly associated with "eth2" will be rebranded as "Finalized: the Ethereum consensus-layer." It also explains that the Berlin mainnet upgrade requires Ethereum PoW node operators and beacon-chain stakers to update their software by the stated deadlines.

### Source excerpt

tl;dr Finalized: rebranding the blog Upgrade your nodes!...

## eth2 quick update no. 3

DevFeed: [eth2 quick update no. 3](<https://devfeed.tech/articles/eth2-quick-update-no-3-16867.md>)

Original publisher: [Read original article](<https://blog.ethereum.org/en/2019/11/08/eth2-quick-update-no-3>)

Author: Danny Ryan

Published: 2019-11-08T00:00:00Z

Content type: article

Language: en

Sources: [Ethereum Foundation Blog](<https://devfeed.tech/sources/ethereum-foundation-blog.md>)

Topics: [Ethereum](<https://devfeed.tech/topics/ethereum.md>), [Protocol (disambiguation)](<https://devfeed.tech/topics/protocol.md>), [Formal verification](<https://devfeed.tech/topics/formal-verification.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [audit](<https://devfeed.tech/tags/audit.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [consensus-algorithm](<https://devfeed.tech/tags/consensus-algorithm.md>), [fork](<https://devfeed.tech/tags/fork.md>), [formal-verification](<https://devfeed.tech/tags/formal-verification.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [research-development](<https://devfeed.tech/tags/research-development.md>), [update](<https://devfeed.tech/tags/update.md>), [verification](<https://devfeed.tech/tags/verification.md>)

### AI overview

The third eth2 quick update describes strengthened Phase 0 fork-choice defenses following analysis of decoy-flip-flop and bouncing attacks. It also announces challenges.ethereum.org and a Herumi grant for a fast BLS implementation.

### Source excerpt

Welcome to the third installment of eth2 quick update. tldr; Harden fork choice defences in response to audits Introducing challenges.ethereum.org Herumi grant for a super-fast BLS implementation...