LIVE · cybersecurity feed
distributed systemsmedium

Introducing Meerkat: an experiment in global consensus

zeroday.news·5h 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
← Back to latest

More News

view all →
zeroday.news · 2h ago·high

China-Linked APT Expands Arsenal With New ‘Leash’ Backdoors

A China-linked advanced persistent threat (APT) group, identified as LapDogs, has reportedly enhanced its malicious toolkit. Security researchers have observed the deployment of three new backdoors: LongLeash, DogLeash, and JarLeash, which are designed to compromise small office/home office (SOHO) routers.

zeroday.news · 2h ago·high

RedWing Android Spyware Sold as a Service on Telegram

A new Android spyware called RedWing is being offered as a service on Telegram, allowing less sophisticated attackers to compromise phones and steal banking information. Researchers have identified it as a polished malware-as-a-service operation with extensive documentation and a subscription model, potentially linked to Russian threat actors. RedWing employs fake login overlays, SMS interception, call forwarding, and even screen control to harvest credentials and conduct further malicious activities.

zeroday.news · 3h ago·high

Operationalizing Day Minus Seven: The Cloud-Native ROC

The article introduces the concept of a Risk Operations Center (ROC) as a necessary evolution for cybersecurity teams facing AI-driven threats. It argues that traditional risk management models are insufficient due to the speed at which AI can discover and exploit vulnerabilities, especially in cloud environments. A ROC, powered by platforms like Qualys Enterprise TruRisk Management (ETM), aims to unify disparate security findings, hyper-prioritize risks based on exploitability and business impact, and enable autonomous remediation to keep pace with attackers.

zeroday.news · 3h ago·critical

Ubiquiti Patches Critical UniFi Flaws Across Connect, Talk, Access, Protect, and OS

Ubiquiti has released security updates to address several critical vulnerabilities affecting its UniFi product line, including UniFi Connect, Talk, Access, Protect, and OS. These flaws could allow attackers to escalate privileges or execute arbitrary commands on affected devices. While no active exploitation has been reported for these specific vulnerabilities, the company has previously seen its UniFi OS and Edge OS products targeted by threat actors.

zeroday.news · 3h ago·high

Armored Likho Hits Government, Energy Sectors With BusySnake Stealer

Cybersecurity researchers have identified a new threat actor, dubbed Armored Likho, targeting government and energy sectors in Russia, Kazakhstan, and Brazil with a sophisticated phishing campaign. The operation utilizes a custom-built Python infostealer named BusySnake, designed to steal credentials, sensitive documents, and other high-value data. The attackers employ AI-generated payloads to obscure their activities and maintain persistence through various methods, including reverse SSH tunneling.

zeroday.news · 4h ago·critical

Attackers using Langflow flaw for credential harvesting (CVE-2026-55255)

CISA has issued a warning regarding a critical vulnerability (CVE-2026-55255) in the Langflow AI framework, which is being actively exploited by attackers. The flaw allows authenticated users to execute arbitrary flows belonging to other users, potentially leading to the theft of sensitive credentials and data exposure, especially in multi-tenant environments. US federal agencies have been mandated to patch this vulnerability by July 10th.