# Raft

Raft is a consensus algorithm for fault-tolerant distributed systems in which servers agree on values and replicated state-machine commands.

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

## Eliminating Servers in State Machine Replication

DevFeed: [Eliminating Servers in State Machine Replication](<https://devfeed.tech/articles/eliminating-servers-in-state-machine-replication-113645.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.01363>)

Author: Dohyun Park, Wenjie Hu, Xiangyao Yu, Mahesh Balakrishnan, Yongjoo Park

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>), [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [Raft](<https://devfeed.tech/topics/raft.md>), [etcd](<https://devfeed.tech/topics/etcd.md>), [Persistence](<https://devfeed.tech/topics/persistence.md>), [Stateful](<https://devfeed.tech/topics/stateful.md>)

Tags: [availability](<https://devfeed.tech/tags/availability.md>), [client](<https://devfeed.tech/tags/client.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-databases](<https://devfeed.tech/tags/distributed-databases.md>), [etcd](<https://devfeed.tech/tags/etcd.md>), [faster](<https://devfeed.tech/tags/faster.md>), [interface](<https://devfeed.tech/tags/interface.md>), [key-value-store](<https://devfeed.tech/tags/key-value-store.md>), [latency](<https://devfeed.tech/tags/latency.md>), [materialization](<https://devfeed.tech/tags/materialization.md>), [metadata](<https://devfeed.tech/tags/metadata.md>), [order](<https://devfeed.tech/tags/order.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [paper](<https://devfeed.tech/tags/paper.md>), [provisioning](<https://devfeed.tech/tags/provisioning.md>), [raft](<https://devfeed.tech/tags/raft.md>), [replication](<https://devfeed.tech/tags/replication.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [state-machine](<https://devfeed.tech/tags/state-machine.md>), [storage](<https://devfeed.tech/tags/storage.md>)

### AI overview

Serverless SMR (S²MR) stores both the durable command order and materialized state on disaggregated storage, with clients concurrently maintaining a single shared state copy. The authors argue the shared log can support distributed state materialization as well as command ordering, making it the interface for SMR without server-based state storage and snapshot serving. Their demonstration, AirDB, is a transactional key-value store. In the reported evaluation, AirDB over S²MR was more available than existing SMR systems such as etcd over Raft, remained unaffected by server failures and bad client activity, and started 10-45 times faster from a cold start.

### Source excerpt

arXiv:2611.01363v1 Announce Type: new Abstract: State Machine Replication (SMR) underpins many stateful systems, including distributed databases, coordination services, and metadata stores. Fundamentally, SMR requires state to be materialized from a durable total order of commands. Existing SMR systems rely on servers to materialize, locally store, and serve snapshots of state; while the durable total order either resides on the same servers, or on an external, disaggregated shared log. Unfortunately, servers act as brittle, expensive choke-points in such systems, causing service unavailability when they fail; incurring provisioning latency on cold starts; and red-lining when exposed to bad clients. In this paper, we propose Serverless SMR (S^2MR), where both the materialized state and the durable total order are stored on disaggregated storage; clients concurrently maintain a single copy of materialized state on external storage. Our key technical insight is that the shared log abstraction is useful not just for consistently ordering commands in SMR, but also for enabling distributed materialization, thus becoming the only interface for ac hieving SMR. We demonstrate S^2MR by developing AirDB, a transactional key-value store. In our evaluation, AirD B over S^2MR achieves higher availability than existing SMR-based systems like etcd over Raft: it is oblivious to server failures and bad client activity; and spins up 10x-45x faster from a cold start.

## Multigres private alpha: automatic failover for Supabase Postgres

DevFeed: [Multigres private alpha: automatic failover for Supabase Postgres](<https://devfeed.tech/articles/multigres-private-alpha-automatic-failover-for-supabase-postgres-107147.md>)

Original publisher: [Read original article](<https://supabase.com/blog/multigres-private-alpha>)

Author: Aditya Maruvada; Manan Gupta

Published: 2026-10-29T07:00:00Z

Content type: release

Language: en

Sources: [Supabase](<https://devfeed.tech/sources/supabase-blog.md>)

Topics: [Supabase](<https://devfeed.tech/topics/supabase.md>), [Raft](<https://devfeed.tech/topics/raft.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [2025](<https://devfeed.tech/tags/2025.md>), [3](<https://devfeed.tech/tags/3.md>), [after](<https://devfeed.tech/tags/after.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [all](<https://devfeed.tech/tags/all.md>), [alpha](<https://devfeed.tech/tags/alpha.md>), [also](<https://devfeed.tech/tags/also.md>), [apache](<https://devfeed.tech/tags/apache.md>), [apache-2-0](<https://devfeed.tech/tags/apache-2-0.md>), [api](<https://devfeed.tech/tags/api.md>), [application](<https://devfeed.tech/tags/application.md>), [applications](<https://devfeed.tech/tags/applications.md>), [automatic](<https://devfeed.tech/tags/automatic.md>), [failover](<https://devfeed.tech/tags/failover.md>), [organizations](<https://devfeed.tech/tags/organizations.md>), [plan](<https://devfeed.tech/tags/plan.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [private](<https://devfeed.tech/tags/private.md>), [supabase](<https://devfeed.tech/tags/supabase.md>)

### AI overview

Multigres runs Supabase Postgres across three nodes in one region and uses consensus with synchronous replication so a write is acknowledged only after enough nodes hold it to survive a failure. If the primary fails, surviving nodes agree on committed writes before promoting a replica; the gateway can hold incoming requests during the transition. Built-in pooling tracks session state per query, allocates connection budgets fairly across database users, and deduplicates prepared statements. Paid-plan organizations can request private-alpha access, then enable high availability when creating a project; it is free for up to two projects per organization during alpha. The excerpt says alpha projects lack an uptime SLA and Realtime or point-in-time recovery, are limited to East US, and cannot be resized or converted back through a managed path. Multigres cannot be combined with OrioleDB.

### Source excerpt

Multigres brings automatic failover to Supabase Postgres, in private alpha for organizations on a paid plan.

## Leader election is easy, failover is where systems die

DevFeed: [Leader election is easy, failover is where systems die](<https://devfeed.tech/articles/leader-election-is-easy-failover-is-where-systems-die-106790.md>)

Original publisher: [Read original article](<https://ankit-rana.com/logs/70-leader-election-failover-fencing/>)

Author: hello@ankit-rana.com

Published: 2026-10-29T00:00:00Z

Content type: article

Language: en

Sources: [Ankit Rana | Mechanical Sympathy](<https://devfeed.tech/sources/ankit-rana-mechanical-sympathy.md>)

Topics: [distributed algorithm](<https://devfeed.tech/topics/distributed-algorithm.md>), [consistency](<https://devfeed.tech/topics/consistency.md>), [Raft](<https://devfeed.tech/topics/raft.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [api](<https://devfeed.tech/tags/api.md>), [application](<https://devfeed.tech/tags/application.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [clock](<https://devfeed.tech/tags/clock.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [column](<https://devfeed.tech/tags/column.md>), [conditional](<https://devfeed.tech/tags/conditional.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [database](<https://devfeed.tech/tags/database.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [election](<https://devfeed.tech/tags/election.md>), [failover](<https://devfeed.tech/tags/failover.md>), [fencing](<https://devfeed.tech/tags/fencing.md>), [layer](<https://devfeed.tech/tags/layer.md>), [leader](<https://devfeed.tech/tags/leader.md>), [leader-election](<https://devfeed.tech/tags/leader-election.md>), [network](<https://devfeed.tech/tags/network.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [storage](<https://devfeed.tech/tags/storage.md>), [timeout](<https://devfeed.tech/tags/timeout.md>), [token](<https://devfeed.tech/tags/token.md>), [zookeeper](<https://devfeed.tech/tags/zookeeper.md>)

### AI overview

Leader election can succeed while a paused former leader resumes and keeps writing: it cannot know its lease expired until it contacts the coordinator. Checking a lease immediately before a write does not close the race, since a pause can occur between the check and write. The text's remedy is fencing: grants carry monotonically increasing tokens, and storage rejects writes with tokens older than the highest already seen. It cites ZooKeeper zxid, etcd revision, and Kubernetes resourceVersion as token sources, while noting that a third-party API unable to check tokens requires idempotent operations to make duplicates harmless. Failover time also includes detection, state recovery, and warm-up; measuring time to elect alone can understate the outage. The suggested test pauses a leader past its lease TTL, then resumes it, to expose stale-writer behavior.

### Source excerpt

Electing a leader is a solved problem that libraries handle well. The hard part is that a leader which has been declared dead often does not know it, because a garbage collection pause or a network partition is indistinguishable from being alive and idle from the inside. The old leader resumes and keeps writing, so for a window there are two. Only a monotonically increasing fencing token checked at the storage layer stops the stale writer, because every timeout-based scheme assumes a clock nobody controls.

## Animations for System Builders: Metastability and Lost Writes

DevFeed: [Animations for System Builders: Metastability and Lost Writes](<https://devfeed.tech/articles/animations-for-system-builders-metastability-and-lost-writes-97874.md>)

Original publisher: [Read original article](<http://brooker.co.za/blog/2026/10/23/animations.html>)

Author: Marc Brooker

Published: 2026-10-23T00:00:00Z

Content type: article

Language: en

Sources: [Marc Brooker's](<https://devfeed.tech/sources/marc-brooker-s-blog.md>)

Topics: [Chaos Engineering](<https://devfeed.tech/topics/chaos-engineering.md>), [etcd](<https://devfeed.tech/topics/etcd.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [observability](<https://devfeed.tech/topics/observability.md>), [Cache](<https://devfeed.tech/topics/cache.md>)

Tags: [animations](<https://devfeed.tech/tags/animations.md>), [cache](<https://devfeed.tech/tags/cache.md>), [etcd](<https://devfeed.tech/tags/etcd.md>), [metastability](<https://devfeed.tech/tags/metastability.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [raft](<https://devfeed.tech/tags/raft.md>), [software](<https://devfeed.tech/tags/software.md>), [storage](<https://devfeed.tech/tags/storage.md>), [systems](<https://devfeed.tech/tags/systems.md>)

### AI overview

The excerpt uses animations backed by test-environment traces to show metastable failures in real systems. In Postgres 16 running in a MicroVM, a load spike fills memory with queries (12 MB each); queries that had fit in the page cache then run more slowly from disk, despite the database handling 20 queries per second before the spike. In etcd, overloaded peers appear unavailable, prompting application-level resend storms. A separate etcd example describes a GC feedback loop: a read spike from 500 to 1,000 per second increases time spent in GC, raises average tenure, and leaves less CPU for reads; the system does not recover without intervention. The author says a similar allocator-driven loop without GC remains unverified. The excerpt also notes that a Raft cluster can lose writes if a member's storage layer falsely reports `fsync()` success. Animations were generated with Kiro and KiroCrew, mostly using Opus 5.5; the underlying results came from a real test environment.

### Source excerpt

Animations for System Builders: Metastability and Lost Writes Pretty pictures help us learn, maybe? One of the things I love using LLMs for is helping me understand systems better. In the Strands Decider post I wrote about how I often ask ask me questions to check I understand this. The other technique I'm enjoying right now, and am delighted to see folks around me using too, is building animations. Animations can help us build an intuition for how and why systems work, or how and why they fail. Here's one example: did you know that a Raft cluster can lose writes if even one of the cluster members has a storage layer that lies about fsync()? Your browser does not support the video tag. When I built Stability Sim, I wanted to help engineers understand metastable failures better. That worked pretty well on an abstract level (e.g. retries and queues make metastability really easy to trigger), but I still hear doubts that these behaviors happen in real systems. After all, those real systems are production-proven, and wouldn't we have shaken out the behaviors by now if they existed? Let's start with Postgres. Your browser does not support the video tag. In this example, captured from traces on real Postgres 16 running in a real MicroVM. Before a load spike, the database is easily able to handle its 20 queries-per-second load, thanks to the whole working set sitting in the page cache. But after the load spike, we've filled up a lot of the memory running queries (each takes 12MB), which now run slower because they're served off the disk rather than the page cache. I like this example, because it shows that even simple, non-distributed systems have these behaviors. What about etcd? Your browser does not support the video tag. Again, we have load spike triggering the metastable state. Writes, in this case. The overloaded peers look like they're unavailable, which triggers a storm of application-level resends. I like this example, because etcd is widely-used quality software.

## Lessons from Paxos Made Live for Reliable AI Infrastructure

DevFeed: [Lessons from Paxos Made Live for Reliable AI Infrastructure](<https://devfeed.tech/articles/lessons-from-paxos-made-live-for-reliable-ai-infrastructure-89726.md>)

Original publisher: [Read original article](<https://hackernoon.com/lessons-from-paxos-made-live-for-reliable-ai-infrastructure?source=rss>)

Author: Darsh Shah

Published: 2026-10-18T11:59:44Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Production Engineering](<https://devfeed.tech/topics/production-engineering.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>)

Tags: [ai-infrastructure](<https://devfeed.tech/tags/ai-infrastructure.md>), [chaos-engineering](<https://devfeed.tech/tags/chaos-engineering.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [consensus-algorithm](<https://devfeed.tech/tags/consensus-algorithm.md>), [consensus-algorithms](<https://devfeed.tech/tags/consensus-algorithms.md>), [distributed-consensus](<https://devfeed.tech/tags/distributed-consensus.md>), [distributed-state-management](<https://devfeed.tech/tags/distributed-state-management.md>), [fault-tolerant-systems](<https://devfeed.tech/tags/fault-tolerant-systems.md>), [paxos](<https://devfeed.tech/tags/paxos.md>), [paxos-made-live](<https://devfeed.tech/tags/paxos-made-live.md>), [raft-consensus](<https://devfeed.tech/tags/raft-consensus.md>), [recovery](<https://devfeed.tech/tags/recovery.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

The article revisits Google's Paxos Made Live paper and its account of the operational work needed to turn consensus into a reliable production service. It connects lease coordination, state recovery, and fault-injection testing to distributed AI infrastructure, including vector databases, LLM serving, and training checkpoints. It argues that clear boundaries between consensus mechanisms and application state management remain important, while AI systems need testing that reflects their own hardware and failure modes.

### Source excerpt

Revisiting Google's Paxos Made Live paper to explore what consensus, lease management, recovery, and fault testing teach modern AI engineers.

## How Plaid Migrated from Aurora MySQL to TiDB for Zero-Downtime Upgrades

DevFeed: [How Plaid Migrated from Aurora MySQL to TiDB for Zero-Downtime Upgrades](<https://devfeed.tech/articles/the-fintech-scalability-crisis-how-distributed-sql-unlocks-innovation-with-zero-downtime-operations-60338.md>)

Original publisher: [Read original article](<https://www.pingcap.com/blog/fintech-scalability-crisis-how-distributed-sql-unlocks-innovation-zero-downtime/>)

Author: M. Nivanya

Published: 2026-09-26T08:31:01Z

Content type: article

Language: en

Sources: [TiDB](<https://devfeed.tech/sources/tidb.md>)

Topics: [Scalability](<https://devfeed.tech/topics/scalability.md>), [Database](<https://devfeed.tech/topics/database.md>), [TiDB](<https://devfeed.tech/topics/tidb.md>), [like](<https://devfeed.tech/topics/like.md>), [migration](<https://devfeed.tech/topics/migration.md>), [Amazon Aurora](<https://devfeed.tech/topics/amazon-aurora.md>), [sharding](<https://devfeed.tech/topics/sharding.md>), [consistency](<https://devfeed.tech/topics/consistency.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [SQL](<https://devfeed.tech/topics/sql.md>)

Tags: [amazon-aurora](<https://devfeed.tech/tags/amazon-aurora.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [database](<https://devfeed.tech/tags/database.md>), [database-architecture](<https://devfeed.tech/tags/database-architecture.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-sql](<https://devfeed.tech/tags/distributed-sql.md>), [downtime](<https://devfeed.tech/tags/downtime.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [financial-services](<https://devfeed.tech/tags/financial-services.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [migration](<https://devfeed.tech/tags/migration.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [real-time-analytics](<https://devfeed.tech/tags/real-time-analytics.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [solution](<https://devfeed.tech/tags/solution.md>), [sql](<https://devfeed.tech/tags/sql.md>), [tidb](<https://devfeed.tech/tags/tidb.md>), [tidb-cloud](<https://devfeed.tech/tags/tidb-cloud.md>)

### AI overview

This article examines database scalability challenges in financial technology and describes how Plaid moved from Amazon Aurora MySQL to TiDB. It presents distributed SQL as a way to scale transaction and analytical workloads while maintaining SQL compatibility, consistency, and uptime.

### Source excerpt

When Plaid's Amazon Aurora MySQL fleet faced a major-version upgrade, the estimate came back at six engineering months and tens of minutes of downtime. For a company whose APIs sit underneath thousands of financial apps, that is not a maintenance task. It is a product freeze. Plaid spent that effort moving to distributed SQL instead, [...] The post The FinTech Scalability Crisis: How Distributed SQL Unlocks Innovation with Zero Downtime Operations appeared first on TiDB.

## Jetpack: Consensus Made Generally Fast (OSDI '26)

DevFeed: [Jetpack: Consensus Made Generally Fast (OSDI '26)](<https://devfeed.tech/articles/jetpack-consensus-made-generally-fast-osdi-26-41858.md>)

Original publisher: [Read original article](<https://muratbuffalo.blogspot.com/2026/09/jetpack-consensus-made-generally-fast.html>)

Author: Murat (noreply@blogger.com)

Published: 2026-09-12T05:36:27Z

Content type: article

Language: en

Sources: [Metadata](<https://devfeed.tech/sources/metadata.md>)

Topics: [Latency](<https://devfeed.tech/topics/latency.md>), [systems](<https://devfeed.tech/topics/systems.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [protocols](<https://devfeed.tech/topics/protocols.md>), [Parallelism](<https://devfeed.tech/topics/parallelism.md>), [ordering](<https://devfeed.tech/topics/ordering.md>), [execution](<https://devfeed.tech/topics/execution.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [distributed-consensus](<https://devfeed.tech/tags/distributed-consensus.md>), [execution](<https://devfeed.tech/tags/execution.md>), [latency](<https://devfeed.tech/tags/latency.md>), [livediscussion](<https://devfeed.tech/tags/livediscussion.md>), [network](<https://devfeed.tech/tags/network.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [paxos](<https://devfeed.tech/tags/paxos.md>), [raft](<https://devfeed.tech/tags/raft.md>), [replication](<https://devfeed.tech/tags/replication.md>)

### AI overview

This paper review examines Jetpack, an add-on framework for existing leader-based consensus protocols. Jetpack runs a 1-RTT fast path alongside the original 2-RTT path, potentially reducing WAN commit latency, but its dual-log design duplicates network and replica processing and separates fast commitment from state-machine execution ordering.

### Source excerpt

Aleksey and I are back to reading papers live. This paper, Jetpack(OSDI '26), attempts building a universal 1-RTT fast-path framework that bolts onto existing leader-based consensus protocols with minimal modification. Why would we want this? Classic consensus protocols like Raft, Paxos, or Zab require two round-trip times (2 RTT) to commit a command: one RTT from client to leader, and another to replicate across followers. The extra RTT matters a lot for WAN deployments, so fast-path protocols (such as Fast Paxos, EPaxos, or SwiftPaxos) reduce this to 1 RTT by bypassing leader serialization, but unfortunately they tightly couple the fast path to the core protocol design. Production systems cannot easily swap out their battle-tested bespoke consensus engines, but if there was an add on that helped with latency especially in WAN deployments, that would be useful. The good news is that Jetpack is truly an add-on portable deal. It provides a shim layer that runs two execution paths in parallel: a 1-RTT fast path and the original 2-RTT consensus path. When a client issues a command, it broadcasts the request concurrently to both paths. The fast path checks for key conflicts, and if none exist and a supermajority quorum ($\sim 3/4$ of nodes) issues a promise, this enables the command to fast-commit in 1 RTT. To guarantee agreement, original path proposers promise not to propose conflicting commands ahead of fast-committed ones. The bad news is that this design gets wasteful due to keeping two distinct logs (the fast-path log and the original-path log). The original consensus engine runs its full replication cycle in the background, ignoring the fast path replication of commands (because it is completely oblivious to the fast path replication in the name of bolt-on portability). So these commands travel in the network twice, and replicas process commands twice, introducing redundant work and extra CPU/network overhead. This dual-log architecture also creates a bigger gap

## Multi-region high availability for Kafka workloads with a single Stretch Cluster

DevFeed: [Multi-region high availability for Kafka workloads with a single Stretch Cluster](<https://devfeed.tech/articles/multi-region-high-availability-for-kafka-workloads-with-a-single-stretch-cluster-12718.md>)

Original publisher: [Read original article](<https://www.redpanda.com/blog/multi-region-high-availability-kafka-stretch-clusters>)

Author: David Yu

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

Content type: article

Language: en

Sources: [Redpanda](<https://devfeed.tech/sources/redpanda.md>)

Topics: [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [Resilience](<https://devfeed.tech/topics/resilience.md>), [stream-processing](<https://devfeed.tech/topics/stream-processing.md>)

Tags: [clusters](<https://devfeed.tech/tags/clusters.md>), [k8s](<https://devfeed.tech/tags/k8s.md>), [kafka](<https://devfeed.tech/tags/kafka.md>), [raft](<https://devfeed.tech/tags/raft.md>), [release](<https://devfeed.tech/tags/release.md>), [replication](<https://devfeed.tech/tags/replication.md>), [resilience](<https://devfeed.tech/tags/resilience.md>), [stream-processing](<https://devfeed.tech/tags/stream-processing.md>)

### AI overview

Redpanda Operator 26.2 introduces generally available Stretch Clusters, allowing one logical Redpanda cluster to span multiple Kubernetes clusters and regions. The release provides synchronous replication with Raft-based automatic failover, safer broker rolling restarts, Redpanda Connect pipelines as Kubernetes resources, and Gateway API support for Redpanda Console.

### Source excerpt

Redpanda Operator 26.2 brings GA Stretch Clusters for multi-region replication, Redpanda Connect pipelines as K8s resources, Gateway API support, and safer rolling restarts.

## Coinbase trading outage exposed single-availability-zone dependency

DevFeed: [Coinbase trading outage exposed single-availability-zone dependency](<https://devfeed.tech/articles/reliability-fail-no-automated-zone-failover-for-coinbase-s-global-trading-service-40917.md>)

Original publisher: [Read original article](<https://blog.pragmaticengineer.com/coinbase-fail/>)

Author: Gergely Orosz

Published: 2026-06-23T16:30:59Z

Content type: opinion

Language: en

Sources: [The Pragmatic Engineer](<https://devfeed.tech/sources/the-pragmatic-engineer-2.md>)

Topics: [coinbase](<https://devfeed.tech/topics/coinbase.md>), [reliability-engineering](<https://devfeed.tech/topics/reliability-engineering.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [Latency](<https://devfeed.tech/topics/latency.md>)

Tags: [availability](<https://devfeed.tech/tags/availability.md>), [aws](<https://devfeed.tech/tags/aws.md>), [coinbase](<https://devfeed.tech/tags/coinbase.md>), [latency](<https://devfeed.tech/tags/latency.md>), [outage](<https://devfeed.tech/tags/outage.md>), [raft](<https://devfeed.tech/tags/raft.md>), [reliability](<https://devfeed.tech/tags/reliability.md>)

### AI overview

A commentary article examines a nearly 10-hour Coinbase trading outage that coincided with a regional AWS outage. It says Coinbase confirmed that its matching engine depended on a single availability zone, a design chosen to avoid inter-zone latency for its Raft-based replicated cluster.

### Source excerpt

Hi, this is Gergely with a bonus, free issue of the Pragmatic Engineer Newsletter. In every issue, I cover Big Tech and startups through the lens of senior engineers and engineering leaders. Today, we cover one out of four topics from this past The Pulse issue. Full subscribers received the

## Scalable Leader Leases for Distributed SQL Databases: CockroachDB at SIGMOD 2026

DevFeed: [Scalable Leader Leases for Distributed SQL Databases: CockroachDB at SIGMOD 2026](<https://devfeed.tech/articles/scalable-leader-leases-for-distributed-sql-databases-cockroachdb-at-sigmod-2026-23779.md>)

Original publisher: [Read original article](<https://cockroachlabs.com/blog/distributed-database-leader-leases>)

Author: Rebecca Taft

Published: 2026-05-26T00:00:00Z

Content type: news

Language: en

Sources: [Cockroach Labs](<https://devfeed.tech/sources/cockroach-labs.md>)

Topics: [CockroachDB](<https://devfeed.tech/topics/cockroachdb.md>), [distributed algorithm](<https://devfeed.tech/topics/distributed-algorithm.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [scalable-architecture](<https://devfeed.tech/topics/scalable-architecture.md>), [consensus algorithm](<https://devfeed.tech/topics/consensus-algorithm.md>), [Database](<https://devfeed.tech/topics/database.md>), [sharding](<https://devfeed.tech/topics/sharding.md>), [Cockroach Labs](<https://devfeed.tech/topics/cockroach-labs.md>), [health check](<https://devfeed.tech/topics/health-check.md>)

Tags: [2022](<https://devfeed.tech/tags/2022.md>), [2025](<https://devfeed.tech/tags/2025.md>), [2026](<https://devfeed.tech/tags/2026.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [cockroach-labs](<https://devfeed.tech/tags/cockroach-labs.md>), [cockroachdb](<https://devfeed.tech/tags/cockroachdb.md>), [conference](<https://devfeed.tech/tags/conference.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [crashes](<https://devfeed.tech/tags/crashes.md>), [data-management](<https://devfeed.tech/tags/data-management.md>), [databases](<https://devfeed.tech/tags/databases.md>), [decentralized](<https://devfeed.tech/tags/decentralized.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-databases](<https://devfeed.tech/tags/distributed-databases.md>), [distributed-sql](<https://devfeed.tech/tags/distributed-sql.md>), [leader](<https://devfeed.tech/tags/leader.md>), [paper](<https://devfeed.tech/tags/paper.md>), [sql](<https://devfeed.tech/tags/sql.md>)

### AI overview

CockroachDB's proposed Leader Leases combine decentralized node health checks with Raft leader fortification so each Range's leaseholder can also be its Raft leader. The approach targets the CPU cost of expiration-based leases, which renew through replicated Raft writes per Range, while avoiding centralized leases' dependence on one Range for cluster health status. Its three components are the Liveness Fabric, Leader Fortification, and the unified Leader Leases abstraction. The article reports up to 85% lower CPU usage for lease maintenance at scale, stable throughput as Range counts grew, and recovery within seconds under tested node crashes, network partitions, and disk stalls. It says the Liveness Fabric's safety properties were formally verified in TLA+, with the model publicly available. These results are reported by the paper's authors; the excerpt does not provide experiment details.

### Source excerpt

We are pleased to announce that Cockroach Labs has a new paper appearing at SIGMOD 2026: Scalable Leader Leases For Multi Consensus Groups in CockroachDB.

## Cloud Topics: Level Zero garbage collection

DevFeed: [Cloud Topics: Level Zero garbage collection](<https://devfeed.tech/articles/cloud-topics-level-zero-garbage-collection-12686.md>)

Original publisher: [Read original article](<https://www.redpanda.com/blog/cloud-topics-level-zero-garbage-collection>)

Author: Oren Leiman

Published: 2026-05-19T00:00:00Z

Content type: article

Language: en

Sources: [Redpanda](<https://devfeed.tech/sources/redpanda.md>)

Topics: [Cloud](<https://devfeed.tech/topics/cloud.md>), [distributed-systems](<https://devfeed.tech/topics/distributed-systems.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [systems](<https://devfeed.tech/topics/systems.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [atomic](<https://devfeed.tech/tags/atomic.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [garbage-collection](<https://devfeed.tech/tags/garbage-collection.md>), [raft](<https://devfeed.tech/tags/raft.md>), [storage](<https://devfeed.tech/tags/storage.md>), [systems](<https://devfeed.tech/tags/systems.md>)

### AI overview

This article explains how Redpanda Cloud Topics safely garbage-collects temporary Level Zero (L0) objects after their data has been reorganized into Level One (L1) objects. It describes an epoch-based design and per-partition state for determining when L0 objects can be removed without data loss or unnecessary storage use.

### Source excerpt

How Redpanda Cloud Topics tracks the lifecycle of temporary L0 objects and determines when they're safe to delete, without risking data loss or runaway storage costs. Read more.

## Instrumenting AI: Multi-master replication and the split brain problem

DevFeed: [Instrumenting AI: Multi-master replication and the split brain problem](<https://devfeed.tech/articles/instrumenting-ai-multi-master-replication-and-the-split-brain-problem-39576.md>)

Original publisher: [Read original article](<https://ankit-rana.com/logs/24-instrumenting-ai-multi-master-replication-split-brain/>)

Author: hello@ankit-rana.com

Published: 2026-05-17T00:00:00Z

Content type: article

Language: en

Sources: [Ankit Rana | Mechanical Sympathy](<https://devfeed.tech/sources/ankit-rana-mechanical-sympathy.md>)

Topics: [distributed-systems](<https://devfeed.tech/topics/distributed-systems.md>), [Database](<https://devfeed.tech/topics/database.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Network](<https://devfeed.tech/topics/network.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-infrastructure](<https://devfeed.tech/tags/ai-infrastructure.md>), [conflict-resolution](<https://devfeed.tech/tags/conflict-resolution.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [database](<https://devfeed.tech/tags/database.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [network](<https://devfeed.tech/tags/network.md>), [partitions](<https://devfeed.tech/tags/partitions.md>), [paxos](<https://devfeed.tech/tags/paxos.md>), [raft](<https://devfeed.tech/tags/raft.md>), [split-brain](<https://devfeed.tech/tags/split-brain.md>)

### AI overview

The article explains how multi-master replication can produce split-brain behavior during network partitions. Both masters may accept conflicting writes, and reconciliation after the partition can discard valid data through last-write-wins rules. It presents Raft and Paxos quorum requirements as a way to prevent a second active brain.

### Source excerpt

In multi-master replication every node accepts writes, so when the network partitions both masters stay active and accept conflicting writes into isolated silos. On heal, automated conflict resolution usually falls back to last-write-wins, which blindly discards valid data. Raft and Paxos prevent this by requiring an odd node count and a strict majority: an isolated leader cannot reach quorum, so it steps down instead of forming a second brain.

## Under the hood: Redpanda Cloud Topics architecture

DevFeed: [Under the hood: Redpanda Cloud Topics architecture](<https://devfeed.tech/articles/under-the-hood-redpanda-cloud-topics-architecture-12685.md>)

Original publisher: [Read original article](<https://www.redpanda.com/blog/cloud-topics-architecture>)

Author: Tyler Rockwood

Published: 2026-03-30T00:00:00Z

Content type: article

Language: en

Sources: [Redpanda](<https://devfeed.tech/sources/redpanda.md>)

Topics: [Streaming](<https://devfeed.tech/topics/streaming.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>)

Tags: [engineering](<https://devfeed.tech/tags/engineering.md>), [kafka](<https://devfeed.tech/tags/kafka.md>), [object-storage](<https://devfeed.tech/tags/object-storage.md>), [raft](<https://devfeed.tech/tags/raft.md>), [replication](<https://devfeed.tech/tags/replication.md>), [streaming](<https://devfeed.tech/tags/streaming.md>)

### AI overview

This article explains Redpanda Cloud Topics, which store record payloads in object storage while retaining partition metadata in Raft logs. It describes batching writes for object storage, preserving transaction and idempotency logic through Raft metadata, and the feature's general availability in Redpanda Streaming 26.1.

### Source excerpt

Cloud Topics represents a new replication mechanism in our Redpanda streaming engine that cuts costs by using object storage. Here's how it actually works.

## Why etcd breaks at scale in Kubernetes

DevFeed: [Why etcd breaks at scale in Kubernetes](<https://devfeed.tech/articles/why-etcd-breaks-at-scale-in-kubernetes-19130.md>)

Original publisher: [Read original article](<https://learnkube.com/etcd-breaks-at-scale>)

Author: Daniele Polencic

Published: 2026-02-24T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Database](<https://devfeed.tech/topics/database.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [Availability](<https://devfeed.tech/topics/availability.md>)

Tags: [api-server](<https://devfeed.tech/tags/api-server.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [database](<https://devfeed.tech/tags/database.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [raft](<https://devfeed.tech/tags/raft.md>), [scale](<https://devfeed.tech/tags/scale.md>)

### AI overview

This article explains why etcd becomes a bottleneck as Kubernetes clusters grow. It describes etcd as the API server's private, consistent backend and explains how Raft supports shared state across multiple API servers for high availability.

### Source excerpt

etcd is the database behind every Kubernetes cluster. This article explains etcd's design limits, how the API server amplifies them, and what you can do about it -- from sharding to what GKE, EKS, and k3s built.

## Kafka automation made simple | Redpanda

DevFeed: [Kafka automation made simple | Redpanda](<https://devfeed.tech/articles/kafka-automation-made-simple-redpanda-12712.md>)

Original publisher: [Read original article](<https://www.redpanda.com/blog/kafka-automation-redpanda>)

Author: Redpanda

Published: 2025-11-10T00:00:00Z

Content type: article

Language: en

Sources: [Redpanda](<https://devfeed.tech/sources/redpanda.md>)

Topics: [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>), [Automation](<https://devfeed.tech/topics/automation.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [DevOps](<https://devfeed.tech/topics/devops.md>), [systems](<https://devfeed.tech/topics/systems.md>)

Tags: [automation](<https://devfeed.tech/tags/automation.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [devops](<https://devfeed.tech/tags/devops.md>), [kafka](<https://devfeed.tech/tags/kafka.md>), [raft](<https://devfeed.tech/tags/raft.md>), [replication](<https://devfeed.tech/tags/replication.md>), [streaming](<https://devfeed.tech/tags/streaming.md>), [systems](<https://devfeed.tech/tags/systems.md>)

### AI overview

This article explains how Redpanda addresses the operational complexity of Apache Kafka through built-in automation and zero-touch cluster management. It describes automated provisioning, configuration, replication, partition balancing, and failure handling, alongside a self-managing architecture using a Raft-based protocol.

### Source excerpt

Tired of brittle Kafka scripts? Learn how Redpanda automates cluster management with zero-touch operations, built-in durability, and easier scaling.

## A Distributed System from scratch, with Scala 3 - Part 3: Job submission, worker scaling, and leader election & consensus with Raft

DevFeed: [A Distributed System from scratch, with Scala 3 - Part 3: Job submission, worker scaling, and leader election & consensus with Raft](<https://devfeed.tech/articles/a-distributed-system-from-scratch-with-scala-3-part-3-job-submission-worker-scaling-and-leader-election-consensus-with-raft-41505.md>)

Original publisher: [Read original article](<https://chollinger.com/blog/2025/05/a-distributed-system-from-scratch-with-scala-3-part-3-job-submission-worker-scaling-and-leader-election-consensus-with-raft/>)

Author: Christian Hollinger

Published: 2025-05-18T00:00:00Z

Content type: article

Language: en

Sources: [Christian Hollinger](<https://devfeed.tech/sources/christian-hollinger.md>)

Topics: [distributed-systems](<https://devfeed.tech/topics/distributed-systems.md>), [Scala](<https://devfeed.tech/topics/scala.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [Parallelism](<https://devfeed.tech/topics/parallelism.md>)

Tags: [bridgefour](<https://devfeed.tech/tags/bridgefour.md>), [cats](<https://devfeed.tech/tags/cats.md>), [cats-effect](<https://devfeed.tech/tags/cats-effect.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-system](<https://devfeed.tech/tags/distributed-system.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [functional-programming](<https://devfeed.tech/tags/functional-programming.md>), [higher-kinded-types](<https://devfeed.tech/tags/higher-kinded-types.md>), [leader-election](<https://devfeed.tech/tags/leader-election.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [programming](<https://devfeed.tech/tags/programming.md>), [raft](<https://devfeed.tech/tags/raft.md>), [scala](<https://devfeed.tech/tags/scala.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [tagless-final](<https://devfeed.tech/tags/tagless-final.md>), [zio](<https://devfeed.tech/tags/zio.md>)

### AI overview

This third part of a Scala 3 distributed-system project describes updates to Bridge Four, including Scala upgrades, worker scaling, job submission, and leader election and consensus using Raft. The system uses a single leader and multiple workers for embarrassingly parallel workloads.

### Source excerpt

Upgrades to Bridge Four, the functional, effectful distributed compute system optimized for embarrassingly parallel workloads: Updating Scala, auto-scaling workers, and implementing leader election with Raft (or half of a replicated state machine).

## 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](<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>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [CockroachDB](<https://devfeed.tech/topics/cockroachdb.md>), [Database](<https://devfeed.tech/topics/database.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...

## IOS\_XE\_RAFT

DevFeed: [IOS\_XE\_RAFT](<https://devfeed.tech/articles/ios-xe-raft-65974.md>)

Original publisher: [Read original article](<https://github.com/automateyournetwork/IOS_XE_RAFT>)

Published: 2024-04-21T12:00:00Z

Content type: article

Language: en

Sources: [Automate Your Network](<https://devfeed.tech/sources/automate-your-network.md>)

Topics: [Raft](<https://devfeed.tech/topics/raft.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [Digital Public Good](<https://devfeed.tech/topics/digital-public-goods.md>)

Tags: [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [ios-xe](<https://devfeed.tech/tags/ios-xe.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [project](<https://devfeed.tech/tags/project.md>), [pyats](<https://devfeed.tech/tags/pyats.md>), [raft](<https://devfeed.tech/tags/raft.md>)

### AI overview

This article describes using Retrieval Augmented Fine Tuning (RAFT) with Cisco IOS XE JSON and pyATS to fine-tune open-source models.

### Source excerpt

Using the Retrieval Augmented Fine Tuning (RAFT) approach with Cisco IOS XE JSON using pyATS to fine tune open source models

## What is a distributed database and how do they work?

DevFeed: [What is a distributed database and how do they work?](<https://devfeed.tech/articles/what-is-a-distributed-database-and-how-do-they-work-23824.md>)

Original publisher: [Read original article](<https://cockroachlabs.com/blog/what-is-a-distributed-database>)

Author: Charlie Custer

Published: 2023-10-09T00:00:00Z

Content type: article

Language: en

Sources: [Cockroach Labs](<https://devfeed.tech/sources/cockroach-labs.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>), [consistency](<https://devfeed.tech/topics/consistency.md>), [CockroachDB](<https://devfeed.tech/topics/cockroachdb.md>), [NoSQL](<https://devfeed.tech/topics/nosql.md>), [rdbms](<https://devfeed.tech/topics/rdbms.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [self-hosted databases vs managed services](<https://devfeed.tech/topics/self-hosted-databases-vs-managed-services.md>), [Microservices](<https://devfeed.tech/topics/microservices.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Cloud Architecture](<https://devfeed.tech/topics/cloud-architecture.md>)

Tags: [acid](<https://devfeed.tech/tags/acid.md>), [active-active](<https://devfeed.tech/tags/active-active.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [analytics](<https://devfeed.tech/tags/analytics.md>), [application](<https://devfeed.tech/tags/application.md>), [application-development](<https://devfeed.tech/tags/application-development.md>), [applications](<https://devfeed.tech/tags/applications.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [automated](<https://devfeed.tech/tags/automated.md>), [availability](<https://devfeed.tech/tags/availability.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-system](<https://devfeed.tech/tags/distributed-system.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [relational-databases](<https://devfeed.tech/tags/relational-databases.md>), [scale](<https://devfeed.tech/tags/scale.md>), [what-is](<https://devfeed.tech/tags/what-is.md>), [work](<https://devfeed.tech/tags/work.md>)

### AI overview

A distributed database stores and runs data across multiple networked instances, often replicating data so service can continue when a machine fails. Adding nodes can make horizontal scaling simpler; performance and geographic latency may improve depending on workload and configuration. These gains can bring greater operational complexity and a learning curve, while costs depend on deployment and requirements. The article contrasts NoSQL, which favors cloud scaling and resilience but may trade away strict schemas and ACID guarantees, with distributed SQL, which aims to retain relational consistency and transactional guarantees while scaling across nodes. Active-passive setups route traffic through one replica and can bottleneck or risk inconsistency or data loss; active-active setups spread traffic but can develop conflicting writes. Multi-active systems use majority consensus, preserving consistency during some replica outages but becoming unavailable if a majority is down. As an example, CockroachDB accepts requests at any node, assigns a leaseholder to coordinate each data range, and uses Raft so a majority of replicas confirm writes before commitment. Distributed databases may.

### Source excerpt

The cloud is, by definition, a distributed system. Distributed application architecture is mainstream in the world of software -- you wouldn't build any other way. For more than a decade, though, the database has lagged behind. The architecture of traditional relational databases frequently conflicts with the architectural needs of modern cloud applications: horizontal scale, elasticity, and microservices.

## Distributed transactions: What, why, and how to build a distributed transactional application

DevFeed: [Distributed transactions: What, why, and how to build a distributed transactional application](<https://devfeed.tech/articles/distributed-transactions-what-why-and-how-to-build-a-distributed-transactional-application-23780.md>)

Original publisher: [Read original article](<https://cockroachlabs.com/blog/distributed-transactions-what-why-and-how-to-build-a-distributed-transactional-application>)

Author: Charlie Custer

Published: 2023-02-16T00:00:00Z

Content type: article

Language: en

Sources: [Cockroach Labs](<https://devfeed.tech/sources/cockroach-labs.md>)

Topics: [Transactions](<https://devfeed.tech/topics/transactions.md>), [Distributed Systems & Parallel Computing](<https://devfeed.tech/topics/distributed-systems-parallel-computing.md>), [Database](<https://devfeed.tech/topics/database.md>), [CockroachDB](<https://devfeed.tech/topics/cockroachdb.md>), [database-consistency](<https://devfeed.tech/topics/database-consistency.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [acid](<https://devfeed.tech/topics/acid.md>)

Tags: [availability](<https://devfeed.tech/tags/availability.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [database](<https://devfeed.tech/tags/database.md>), [distributed-transactions](<https://devfeed.tech/tags/distributed-transactions.md>), [fault-tolerance](<https://devfeed.tech/tags/fault-tolerance.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [transactions](<https://devfeed.tech/tags/transactions.md>)

### AI overview

Distributed transactions coordinate data changes across database nodes, preserving the all-or-nothing behavior expected of a transaction. The article compares three patterns: two-phase commit keeps nodes consistent by requiring each to prepare and then commit, but locks resources, can bottleneck, and fails if any node is unavailable. Active-passive replicas allow a passive node to take over after an active-node failure, though failover can cause a brief outage and writes remain limited to one node. In a multi-active system such as CockroachDB, all nodes can handle reads and writes; Raft lets a transaction commit when a majority agree, and the database manages routing and consistency. This can support scaling and availability while preserving consistency, but building such a system from scratch is highly complex, so adopting it generally means choosing or migrating to a purpose-built database.

### Source excerpt

Transactions make up an important part of the database workload for most modern applications. And when it comes time to scale up operations for a growing business, distributing those workloads across multiple hardware systems for horizontal scalability, high availability, and fault tolerance is often an important part of the plan.

## Why does Neon use Paxos instead of Raft, and what's the difference?

DevFeed: [Why does Neon use Paxos instead of Raft, and what's the difference?](<https://devfeed.tech/articles/why-does-neon-use-paxos-instead-of-raft-and-what-s-the-difference-5712.md>)

Original publisher: [Read original article](<https://neon.com/blog/paxos>)

Author: Stas Kelvich

Published: 2022-08-02T13:04:00Z

Content type: article

Language: en

Sources: [Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [Raft](<https://devfeed.tech/topics/raft.md>), [distributed-systems](<https://devfeed.tech/topics/distributed-systems.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Availability](<https://devfeed.tech/topics/availability.md>)

Tags: [availability](<https://devfeed.tech/tags/availability.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [raft](<https://devfeed.tech/tags/raft.md>), [replication](<https://devfeed.tech/tags/replication.md>), [rust](<https://devfeed.tech/tags/rust.md>)

### AI overview

The article explains why Neon uses a Paxos-like consensus design instead of standard Raft. Neon separates storage from compute and replaces PostgreSQL's persistence layer with custom distributed storage written in Rust, resulting in nodes that may lack persistent disks. Its design combines Paxos-like role separation and recovery with a Raft-like election procedure, with TLA⁺ used to check the modifications. The article also discusses high availability and failover in PostgreSQL, including replica promotion and the split-brain risks that tools such as Patroni and Stolon help address.

### Source excerpt

TLDR: Neon separates storage and compute, substituting the PostgreSQL persistency layer with a custom-made distributed storage written in Rust. Due to this separation, some nodes don't have persistent disks. The original Raft paper works only with uniform nodes, but Paxos variant...

## Exploring ZooKeeper-less Kafka

DevFeed: [Exploring ZooKeeper-less Kafka](<https://devfeed.tech/articles/exploring-zookeeper-less-kafka-18814.md>)

Original publisher: [Read original article](<https://www.morling.dev/blog/exploring-zookeeper-less-kafka/>)

Published: 2021-05-17T17:45:00Z

Content type: tutorial

Language: en

Sources: [Gunnar Morling](<https://devfeed.tech/sources/gunnar-morling.md>)

Topics: [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>)

Tags: [apache-kafka](<https://devfeed.tech/tags/apache-kafka.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [getting-started](<https://devfeed.tech/tags/getting-started.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kafka](<https://devfeed.tech/tags/kafka.md>), [raft](<https://devfeed.tech/tags/raft.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

This article explores ZK-less Kafka, also known as KRaft, an early access Kafka 2.8 feature that removes ZooKeeper by storing metadata in Kafka and using a Raft-based controller election process. It provides setup guidance and initial observations rather than a systematic evaluation.

### Source excerpt

Table of Contents Trying ZK-less Kafka Yourself Taking Brokers Down Wrap-Up Sometimes, less is more. One case where that's certainly true is dependencies. And so it shouldn't come at a surprise that the Apache Kafka community is eagerly awaiting the removal of the dependency to the ZooKeeper service, which currently is used for storing Kafka metadata (e.g. about topics and partitions) as well as for the purposes of leader election in the cluster. The Kafka improvement proposal KIP-500 ("Replace ZooKeeper with a Self-Managed Metadata Quorum") promises to make life better for users in many regards: Better getting started and operational experience by requiring to run only one system, Kafka, instead of two Removing potential for discrepancies of metadata state between ZooKeeper and the Kafka controller Simplifying configuration, for instance when it comes to security Better scalability, e.g. in terms of number of partitions; faster execution of operations like topic creation

## The Fundamental Mechanism of Scaling

DevFeed: [The Fundamental Mechanism of Scaling](<https://devfeed.tech/articles/the-fundamental-mechanism-of-scaling-12503.md>)

Original publisher: [Read original article](<http://brooker.co.za/blog/2021/01/22/cloud-scale.html>)

Author: Marc Brooker

Published: 2021-01-22T00:00:00Z

Content type: article

Language: en

Sources: [Marc Brooker's](<https://devfeed.tech/sources/marc-brooker-s-blog.md>)

Topics: [scalable-architecture](<https://devfeed.tech/topics/scalable-architecture.md>), [sharding](<https://devfeed.tech/topics/sharding.md>), [Cloud Architecture](<https://devfeed.tech/topics/cloud-architecture.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [CAP theorem](<https://devfeed.tech/topics/cap-theorem.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [cap-theorem](<https://devfeed.tech/tags/cap-theorem.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [databases](<https://devfeed.tech/tags/databases.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [paxos](<https://devfeed.tech/tags/paxos.md>), [raft](<https://devfeed.tech/tags/raft.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [systems](<https://devfeed.tech/tags/systems.md>), [two-phase-commit](<https://devfeed.tech/tags/two-phase-commit.md>)

### AI overview

The excerpt argues that distributed systems scale primarily by avoiding coordination: consensus protocols such as Paxos and Raft improve availability, durability, and integrity, but do not themselves make systems scale. It places designs on a spectrum: tightly coordinated systems may do O(N-W) work; sharded systems with cross-shard operations range from O(W) to O(N-W) depending on access patterns; leveraged coordination can stay at O(W) in normal operation but rise to O(N-W) when coordination is forced; and fully independent work remains O(W). The article names CAP-style impossibility results and CALM as frameworks for reasoning about coordination. Partial-result systems can improve progress, but may confuse clients and are difficult to test because many result subsets are possible. The excerpt presents this as one useful lens, not a complete classification.

### Source excerpt

The Fundamental Mechanism of Scaling It's not Paxos, unfortunately. A common misconception among people picking up distributed systems is that replication and consensus protocols--Paxos, Raft, and friends--are the tools used to build the largest and most scalable systems. It's obviously true that these protocols are important building blocks. They're used to build systems that offer more availability, better durability, and stronger integrity than a single machine. At the most basic level, though, they don't make systems scale. Instead, the fundamental approach used to scale distributed systems is avoiding co-ordination. Finding ways to make progress on work that doesn't require messages to pass between machines, between clusters of machines, between datacenters and so on. The fundamental tool of cloud scaling is coordination avoidance. A Spectrum of Systems With this in mind, we can build a kind of spectrum of the amount of coordination required in different system designs: Coordinated These are the kind that use paxos, raft, chain replication or some other protocol to make a group of nodes work closely together. The amount of work done by the system generally scales with the offered work (W) and the number of nodes (N), something like O(N * W) (or, potentially, worse under some kinds of failures). Data-dependent Coordination These systems break their workload up into uncoordinated pieces (like shards), but offer ways to coordinate across shards where needed. Probably the most common type of system in this category is sharded databases, which break data up into independent pieces, but then use some kind of coordination protocol (such as two-phase commit) to offer cross-shard transactions or queries. Work done can vary between O(W) and O(N * W) depending on access patterns, customer behavior and so on. Leveraged Coordination These systems take a coordinated system and build a layer on top of it that can do many requests per unit of coordination. Generally, coordinatio

## High availability with nats-streaming-server (clustering)

DevFeed: [High availability with nats-streaming-server (clustering)](<https://devfeed.tech/articles/high-availability-with-nats-streaming-server-clustering-37814.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/nats-streaming-server-cluster/>)

Author: Carlos Alexandro Becker

Published: 2019-05-16T00:00:00Z

Content type: tutorial

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [Streaming](<https://devfeed.tech/topics/streaming.md>), [clustering](<https://devfeed.tech/topics/clustering.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Raft](<https://devfeed.tech/topics/raft.md>)

Tags: [clustering](<https://devfeed.tech/tags/clustering.md>), [fault-tolerance](<https://devfeed.tech/tags/fault-tolerance.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [leader-election](<https://devfeed.tech/tags/leader-election.md>), [raft](<https://devfeed.tech/tags/raft.md>), [streaming](<https://devfeed.tech/tags/streaming.md>)

### AI overview

A practical guide to configuring a high-availability nats-streaming-server cluster. It compares fault-tolerance and clustering approaches, then demonstrates clustering NATS and nats-streaming-server with three nodes, RAFT leader election, replicated writes, and peer configuration.

### Source excerpt

I wanted to set up a high available nats-streaming-server cluster, but couldn't find a "quick" guide on how to do it.

[Next page](<https://devfeed.tech/topics/raft.md?cursor=WyIyMDE5LTA1LTE2VDAwOjAwOjAwKzAwOjAwIiwgIjg3ZWE0NDgzLTA0M2MtNGU1OS1hMjA2LWQ5MmNlZjViYjdkYSJd>)