---
title: "#consensus articles | Hashnode"
description: "With the increase of interest in various consensus algorithms and mechnaisms specially in blockchain and decentralisation technology."
url: "https://hashnode.com/tag/consensus"
---

Tag

# #consensus

74 posts · 2 followers

[Sarmeet Singh](https://hashnode.com/@blueprintsofscale) · [6h ago](https://hashnode.com/posts/following-every-change-change-data-capture-and-data-integration-explained-like-you-re-new/6afa258191575cd90732eb51)

### [Following Every Change: Change Data Capture and Data Integration, Explained Like You're New](https://blueprintsofscale.hashnode.dev/following-every-change-change-data-capture-and-data-integration-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

Subtitle: Blueprints of Scale, Core Concepts #27 Section 1: The price that changed in one place and not in the other, in plain language This section is about a problem that sounds like bookkeeping and

46 min read · [blueprintsofscale.hashnode.dev](https://blueprintsofscale.hashnode.dev/following-every-change-change-data-capture-and-data-integration-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

[Sarmeet Singh](https://hashnode.com/@blueprintsofscale) · [6h ago](https://hashnode.com/posts/the-work-that-must-finish-durable-execution-and-workflow-orchestration-explained-like-you-re-new/6afa24d68bdd0a4ec8146a3a)

### [The Work That Must Finish: Durable Execution and Workflow Orchestration, Explained Like You're New](https://blueprintsofscale.hashnode.dev/the-work-that-must-finish-durable-execution-and-workflow-orchestration-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

Subtitle: Blueprints of Scale, Core Concepts #26 Section 1: The order that died between steps, in plain language This section is about work that takes longer than one request. A normal request lives f

53 min read · [blueprintsofscale.hashnode.dev](https://blueprintsofscale.hashnode.dev/the-work-that-must-finish-durable-execution-and-workflow-orchestration-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

[Sarmeet Singh](https://hashnode.com/@blueprintsofscale) · [6h ago](https://hashnode.com/posts/whose-turn-is-it-coordination-and-distributed-locks-explained-like-you-re-new/6afa24063c9ca2a77f2ece48)

### [Whose Turn Is It: Coordination and Distributed Locks, Explained Like You're New](https://blueprintsofscale.hashnode.dev/whose-turn-is-it-coordination-and-distributed-locks-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

Two copies of the same scheduler are running, which is exactly what you wanted. One copy was supposed to be insurance for the other. At midnight both copies wake up, both look at the same list of jobs

62 min read · [blueprintsofscale.hashnode.dev](https://blueprintsofscale.hashnode.dev/whose-turn-is-it-coordination-and-distributed-locks-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

[Sarmeet Singh](https://hashnode.com/@blueprintsofscale) · [6h ago](https://hashnode.com/posts/when-faster-is-fatal-backpressure-and-flow-control-explained-like-you-re-new/6afa224b5bf36f3fd7206723)

### [When Faster Is Fatal: Backpressure and Flow Control, Explained Like You're New](https://blueprintsofscale.hashnode.dev/when-faster-is-fatal-backpressure-and-flow-control-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

A checkout service is healthy at 9 AM. Traffic is steady, errors are near zero, and every dashboard is green. At 9:07 a partner launches a promotion and traffic triples in two minutes. The checkout se

55 min read · [blueprintsofscale.hashnode.dev](https://blueprintsofscale.hashnode.dev/when-faster-is-fatal-backpressure-and-flow-control-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

[Sarmeet Singh](https://hashnode.com/@blueprintsofscale) · [6h ago](https://hashnode.com/posts/one-system-many-places-multi-region-design-active-active-and-the-price-of-distance-explained-like-you-re-new/6afa217659a514b09d8dec2a)

### [One System, Many Places: Multi-Region Design, Active-Active, and the Price of Distance, Explained Like You're New](https://blueprintsofscale.hashnode.dev/one-system-many-places-multi-region-design-active-active-and-the-price-of-distance-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

Your service runs in one cloud region, a cluster of data centers in one metro area, and it runs well. Then the region has its bad day. It does not happen often, and it does not have to be a total outa

54 min read · [blueprintsofscale.hashnode.dev](https://blueprintsofscale.hashnode.dev/one-system-many-places-multi-region-design-active-active-and-the-price-of-distance-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

[Sarmeet Singh](https://hashnode.com/@blueprintsofscale) · [6h ago](https://hashnode.com/posts/is-it-dead-or-just-slow-failure-detection-gossip-and-membership-explained-like-you-re-new/6afa20659a6f948fd8d2485a)

### [Is It Dead or Just Slow: Failure Detection, Gossip, and Membership, Explained Like You're New](https://blueprintsofscale.hashnode.dev/is-it-dead-or-just-slow-failure-detection-gossip-and-membership-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

A database node stops answering. Ten seconds pass, then thirty. The cluster does what it was designed to do: it declares the node dead, promotes a replica, and starts copying data to a replacement. Th

58 min read · [blueprintsofscale.hashnode.dev](https://blueprintsofscale.hashnode.dev/is-it-dead-or-just-slow-failure-detection-gossip-and-membership-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

[Sarmeet Singh](https://hashnode.com/@blueprintsofscale) · [6h ago](https://hashnode.com/posts/the-sorted-shelf-and-the-stack-of-notes-storage-engines-b-trees-and-lsm-trees-explained-like-you-re-new/6afa1f96b423d89b52dd96be)

### [The Sorted Shelf and the Stack of Notes: Storage Engines, B-Trees and LSM Trees, Explained Like You're New](https://blueprintsofscale.hashnode.dev/the-sorted-shelf-and-the-stack-of-notes-storage-engines-b-trees-and-lsm-trees-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

A team builds an event ingestion service. The database passed every test in staging: clean API, sensible data model, queries that read well in review. In production it takes 200,000 writes a second fo

55 min read · [blueprintsofscale.hashnode.dev](https://blueprintsofscale.hashnode.dev/the-sorted-shelf-and-the-stack-of-notes-storage-engines-b-trees-and-lsm-trees-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

[Sarmeet Singh](https://hashnode.com/@blueprintsofscale) · [6h ago](https://hashnode.com/posts/no-one-agrees-what-time-it-is-clocks-time-and-ordering-explained-like-you-re-new/6afa1ec0e9bd0104a59b2a68)

### [No One Agrees What Time It Is: Clocks, Time, and Ordering, Explained Like You're New](https://blueprintsofscale.hashnode.dev/no-one-agrees-what-time-it-is-clocks-time-and-ordering-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

Two servers hold a copy of the same document. At what each server believes is 10:00:01, a user in one region saves an edit. A second later, by a different server's clock, another user saves a conflict

49 min read · [blueprintsofscale.hashnode.dev](https://blueprintsofscale.hashnode.dev/no-one-agrees-what-time-it-is-clocks-time-and-ordering-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

[Sarmeet Singh](https://hashnode.com/@blueprintsofscale) · [Nov 2](https://hashnode.com/posts/one-leader-many-witnesses-consensus-and-leader-election-explained-like-you-re-new/6ae847886694427f0f133aff)

### [One Leader, Many Witnesses: Consensus and Leader Election, Explained Like You're New](https://blueprintsofscale.hashnode.dev/one-leader-many-witnesses-consensus-and-leader-election-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

Your database cluster has three machines. The leader dies mid-write. In the next two seconds, two different replicas each conclude that they are in charge, accept writes the other never sees, and your

37 min read · [blueprintsofscale.hashnode.dev](https://blueprintsofscale.hashnode.dev/one-leader-many-witnesses-consensus-and-leader-election-explained-like-you-re-new?utm_source=hashnode&utm_medium=feed)

[Sahasrajith M](https://hashnode.com/@sahasrajith-m) · [Aug 10](https://hashnode.com/posts/raft-consensus-from-scratch/6a7a2f3dc68b338729309a88)

### [I Built a Database That Survives Its Own Servers Dying. Here's How.](https://concurrency-in-go.hashnode.dev/raft-consensus-from-scratch?utm_source=hashnode&utm_medium=feed)

Building Raft and a linearizable key/value store from scratch, explained the way I wish someone had explained it to me.

57 min read · [concurrency-in-go.hashnode.dev](https://concurrency-in-go.hashnode.dev/raft-consensus-from-scratch?utm_source=hashnode&utm_medium=feed)
