Home / Companies / Yugabyte / Blog / Post Details
Content Deep Dive

Low Latency Reads in Geo-Distributed SQL with Raft Leader Leases

Blog post from Yugabyte

Post Details
Company
Date Published
Author
Karthik Ranganathan
Word Count
1,656
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

Raft is a consensus algorithm that allows distributed systems to agree on a sequence of values in the presence of failures. It provides single-key linearizability, which guarantees that every operation appears to take place atomically and in some total linear order that is consistent with the real-time ordering of those operations. However, Raft's read performance can be affected by leader leases, which require an additional round-trip to the majority of replicas on every read operation, resulting in high latency. To improve this, YugabyteDB uses leader leases, where a newly elected leader cannot serve reads until it has acquired a leader lease, and the old leader steps down upon expiry of its lease duration. This approach creates a time window where the old leader is unavailable, but the unavailability window is bounded and occurs only during failure scenarios, making leader leases safe in practice.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 2 519 155 54 +1%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.