LIVE · cybersecurity feed
Live wire
distributed systemsmedium

Introducing Meerkat: an experiment in global consensus

Cloudflare has developed Meerkat, an experimental distributed consensus service designed to manage control-plane state across its global data centers. Unlike traditional consensus algorithms like Raft, which can suffer from leader failures and timeouts, Meerkat utilizes the QuePaxa algorithm. This allows all replicas to perform writes simultaneously and ensures continuous availability even during network disruptions, making it suitable for Cloudflare's expansive and unpredictable network infrastructure.

zeroday.news · 24d ago

Cloudflare has developed an experimental consensus service named Meerkat, designed to manage critical control-plane state across its global network of over 330 data centers. This new system aims to provide strong consistency and high availability, even under challenging internet conditions.

Many internal Cloudflare services require access to and modification of control-plane data, which dictates how these services operate. Examples include placement information for resources like AI models and leadership assignments for replicated databases. Ensuring that different parts of the system never see conflicting data, and that the system remains accessible for writes despite potential failures, is crucial.

Traditional consensus algorithms like Raft, while effective in many scenarios, can struggle with the unpredictable nature of wide-area networks. Raft relies on a leader replica to handle all writes and uses timeouts to detect leader failures. In networks with variable latency, these timeouts can be difficult to configure, leading to system unavailability during leader elections or network disruptions. Cloudflare has experienced issues with such consensus-driven systems becoming unavailable due to leader problems.

To address these limitations, Cloudflare's Research team has been developing Meerkat, which utilizes a consensus algorithm called QuePaxa. QuePaxa, published in 2023 by researchers at EPFL, differs from Raft by allowing all replicas to perform writes concurrently and by not halting progress due to timeouts. This design makes it more suitable for Cloudflare's global infrastructure.

Meerkat is built as a consensus service, with applications like a transactional key-value store and a leasing system layered on top. The service is currently in development and is intended for internal use, initially managing small pieces of control-plane state. Cloudflare anticipates this will be the first large-scale industrial deployment of the QuePaxa algorithm.

The requirements for a global control-plane data system at Cloudflare include strong consistency, specifically linearizability, which ensures that operations appear to execute in a single, real-time order. This simplifies reasoning for developers, allowing them to treat the distributed system much like local memory on a single-threaded machine.

In terms of fault tolerance, Meerkat aims to remain available for reads and writes as long as a majority of its machines can communicate and are operational. This means that the failure of a single machine or a network link should not impact the system's availability. The system is also designed to remain correct, meaning no two up-to-date machines will disagree on data, provided no malicious actors are involved. This fault tolerance covers machine crashes, restarts, network failures, and data center outages, though it does not address Byzantine faults.

Meerkat's architecture involves clusters of replicas, where each replica is connected to all others. Developers can specify the data centers where replicas should be located, and Meerkat handles the placement. Client applications interact with any replica in a cluster by sending application-specific requests, such as key-value get or put operations. These requests are translated into log events that are distributed to all replicas via the QuePaxa consensus algorithm, ensuring all replicas maintain an identical log of events. Applications then process these log events to construct their state.

distributed systemsconsensus algorithmcloudflarenetworkingfault tolerance
ShareXLinkedInWhatsAppFacebook

More News

view all →
vulnerability

Coldcard Hardware Wallet Flaw Linked to $70 Million Bitcoin Theft in 41 Minutes

An attacker drained 1,196 Bitcoin addresses in 41 minutes on July 30, taking 1,082.65 BTC worth about $70.2 million at the time. Galaxy Research mapped the sweep and tied it to a firmware flaw in Coldcard, the Bitcoin-only hardware wallet made by Canadian firm Coinkite. A March 2021 firmware integration error routed seed generation to a deterministic software pseudorandom number generator (PRNG

vulnerabilitycritical

Rails patches critical Active Storage flaw with RCE potential

A critical vulnerability in the Active Storage framework can allow an unauthenticated attacker to read arbitrary files from a Rails application, and potentially escalate to remote code execution (RCE). [...]

malware

Russian Hackers Hijack Hotel Wi-Fi to Steal Microsoft 365 Tokens

Microsoft says Russian hackers hijacked hotel Wi-Fi portals to spread malware and steal Microsoft 365 tokens from travelers. Microsoft Threat Intelligence disclosed CaptiveCrunch, a campaign it attributes to Storm-2945, an operational sub-cluster of Midnight Blizzard, the Russian SVR-linked group also known as APT29 and Cozy Bear. Since early May 2026, Storm-2945 has been manipulating DNS […]

CVE-2026-48449critical

Adobe fixed a maximum-severity vulnerability flaw in Campaign Classic

Adobe fixed a maximum severity vulnerability in Campaign Classic that could let attackers run code remotely without user interaction. Adobe has addressed a critical vulnerability, tracked as CVE-2026-48449 (CVSS score of 10.0), in Adobe Campaign Classic, the company’s enterprise marketing automation platform. The flaw is caused by incorrect authorization and could allow attackers to execute […]

security

Balance Theory Raises $19 Million to Help Enterprises Manage Cybersecurity Investments

The funding round was led by SYN Ventures, with participation from existing investors DataTribe and TEDCO. The post Balance Theory Raises $19 Million to Help Enterprises Manage Cybersecurity Investments appeared first on SecurityWeek.

vulnerabilitycritical

Ruby on Rails Patches Critical Vulnerability

The flaw can be exploited by unauthenticated attackers to read arbitrary files and potentially achieve remote code execution (RCE). The post Ruby on Rails Patches Critical Vulnerability appeared first on SecurityWeek.