Skip to main content
ANNOUNCEMENTMeet MariaDB Enterprise Platform 2027. Read more.

Menu

WEBINAR

Built for the Agentic Era: Introducing MariaDB Enterprise Platform 2027

Register now

MariaDB Raft Cluster: Consistency Without Waiting on Your Slowest Node

By Ralf Gebhardt

8 min read
Share

Key takeaways

  • Majority-Based Consensus: MariaDB Raft Cluster requires only a majority quorum to commit writes, eliminating latency bottlenecks caused by single slow or distant nodes.
  • Graceful Throttling over Hard Pauses: When a node falls behind, Raft Cluster throttles overall cluster throughput to a configurable rate instead of completely pausing write operations.
  • Significant Performance Advantages: Internal cloud benchmarks demonstrate up to 17x higher write throughput in asymmetric latency environments and 47.5% higher throughput on larger 7-node clusters compared to Galera.
  • Seamless Operations & Integration: Ships as part of MariaDB Enterprise Server 12.3, preserving existing operational workflows, port definitions, snapshot transfer methods, and automatic MaxScale leader routing.

Flow control: the other half of the story

No — it runs as an additional clustering option alongside Galera. You choose the provider per cluster (wsrep_provider=raft instead of the Galera provider), and the two cannot be mixed within a single cluster.

No. MaxScale's Galera Monitor (25.10.2+) detects a Raft Cluster automatically and routes writes to the Leader, but it isn't required — a write sent to a Follower is simply forwarded to the Leader, at the cost of one extra hop.

The Followers hold a new leader election automatically; no manual intervention is required.

Galera pauses the entire cluster once a lagging node crosses a threshold (gcs.fc_limit). Raft Cluster throttles instead — the Leader slows the cluster to a steady, reduced write rate governed by raft_flow_control_drift_limit, and both the drift limit and the throttled rate are configurable.

No — a cluster runs with one provider or the other, not both.

It ships as part of MariaDB Enterprise Server 12.3, and requires an active MariaDB Enterprise Platform Plus subscription.

See the Quickstart Guide linked above, or reach out via the contact details in the Try it section.