惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
博客园 - 聂微东
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
雷峰网
雷峰网
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
L
LangChain Blog
WordPress大学
WordPress大学
H
Help Net Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
MyScale Blog
MyScale Blog
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
罗磊的独立博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
有赞技术团队
有赞技术团队
Apple Machine Learning Research
Apple Machine Learning Research
云风的 BLOG
云风的 BLOG
博客园 - 【当耐特】
P
Proofpoint News Feed
D
DataBreaches.Net

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Global Distributed Consensus: The Missing Piece in Kubern...
David Aronch · 2026-05-05 · via DEV Community

David Aronchick

Early in my time on the Kubernetes team, a customer proposed something that was both brilliant and beyond what we were ready for: a global footprint of clusters, one per region, with a synchronized set of jobs. They were running a low-latency application and wanted to coordinate workloads across continents. The problem was, we hadn't figured out how to do that yet.

As an aside, we had an internal project called "Ubernetes" that aimed to solve this, but the complexity of tackling multi-cluster coordination in the API Server was too high. We had to leave it as an exercise for the user.

So we helped the customer build a solution, but it immediately raised a point for all of os. This wasn't just a deployment problem, which GitOps has since made more reliable. It was a consensus problem. The moment you have multiple systems that can't talk to each other, you have a recipe for things getting out of sync.

The Consensus We Have vs. The Consensus We Need

Kubernetes runs on etcd, which uses the Raft consensus algorithm. It's a proven model for what it was designed to do: keep a single cluster's state perfectly consistent. When you create a deployment or a pod dies, every node in the cluster agrees on the new state of the world almost instantly.

But step outside that single cluster boundary, and all consensus guarantees break down.

Today, teams often work around this with a single, central source of truth, using write-only pipelines to declarative endpoints like Kubernetes in each region. This works beautifully for stateless workloads. But the moment you introduce stateful data that needs to cross boundaries, the model falls apart.

The Data Consensus Problem

Stateless workloads are simple (or as simple as you can get in the distributed system world). But what happens when a user crosses a regional boundary due to load balancing or data sovereignty laws? You now have to figure out how and where to move their state. The common solutions are just bandages. I've seen countless teams forced to build brittle, custom consensus mechanisms using complex service meshes and controllers that poll APIs across regions, simply because the right tools don't exist.

Consider an ML training pipeline that needs to process user data across multiple regions for compliance. With current Kubernetes tooling, you end up with:

  • Separate, manually coordinated data pipelines in each region.
  • No global view of the processing state.
  • Race conditions when jobs span regions.
  • Inconsistent data lineage tracking.

Each cluster thinks it's doing the right thing, but globally, you have no guarantees of correctness. This isn't theoretical. I've seen production systems fail because cluster A started processing a dataset while cluster B was already halfway through the same job. Both clusters were internally consistent, but the global system was broken.

Why Raft and Paxos Aren't Enough

Raft works brilliantly within a cluster because it assumes low latency and reliable network connections. Stretch it across regions, however, and its core assumptions break down. Cross-region latency is unpredictable, and network partitions are a daily reality, not a rare edge case. Paxos handles partitions better, but its complexity makes it difficult to implement correctly at the scale of modern multi-cloud deployments.

Both algorithms were designed for consensus among similar nodes in controlled environments. The real challenge today isn't just agreeing on simple state changes. It's reaching consensus on complex data operations that might take hours and involve moving terabytes of data between regions.

The Path Forward: Data-Aware Consensus

The missing piece isn't just global consensus; it's data-aware global consensus.

Traditional consensus algorithms treat all operations equally. But data operations are long-running, resource-intensive, and have complex dependencies. A true global consensus mechanism for Kubernetes must understand these characteristics. It must know that moving 100TB of data is fundamentally different from starting a web server. It must coordinate not just the job, but where the data lives, how it's partitioned, and which cluster processes each part. Most importantly, it has to manage the reality that data jobs have phases, dependencies, and resource needs that change over time.

This is the problem we are focused on at Expanso. We believe the solution requires building global consensus mechanisms that understand data locality, processing requirements, and the economics of data movement. A system must work with existing compute clusters and data warehouses, but true consensus has to start where the data is generated, no matter where that is.

Ultimately, distributed systems aren't just about distributing compute. They're about distributing data intelligently, and that requires a fundamentally different approach to consensus.

What's been your experience with multi-cluster coordination? Have you hit similar walls when trying to orchestrate data processing across regions?


Originally published at Global Distributed Consensus: The Missing Piece in Kubernetes.