Offload YugabyteDB Read Traffic with Follower Reads
YugabyteDB follower reads serve SELECT queries from replicas instead of the Raft leader, reducing leader load at the cost of possible read staleness.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
YugabyteDB follower reads serve SELECT queries from replicas instead of the Raft leader, reducing leader load at the cost of possible read staleness.
Learn how to use YugabyteDB follower reads to reduce geo-distributed read latency from 100ms+ to single-digit milliseconds by serving requests from local replicas.
YugabyteDB’s UPSERT works like PostgreSQL’s INSERT … ON CONFLICT, but it’s implemented as a single Paxos proposal per key. This gives ACID guarantees across shards, yet high contention can spike latency. Learn how to use it safely, verify it, and know the trade‑offs.
A step-by-step diagnostic guide for intermittent query failures caused by leader loss in YugabyteDB clusters. Covers recognizable symptoms, a cause/diagnostic table, ordered checks with commands, targeted fixes, and escalation criteria for production environments.
Route catalog reads to local YugabyteDB followers with bounded staleness while keeping inventory writes on the leader.
Learn how colocated tables keep related rows on the same tablet, removing cross‑shard network hops for joins, with a worked example, limits, and common pitfalls.
A diagnostic guide for YugabyteDB SQLSTATE 40001 read restart errors, covering MVCC conflict detection, ordered cluster checks, targeted fixes, and escalation criteria.
A cross-tablet transaction in YugabyteDB cannot commit on one disk. This architecture note explains how Raft groups, leaseholders, and a two-phase commit variant preserve atomicity, what to inspect with yb-admin, and when clock skew or hotspotting changes the design.
Geo-partitioning in YugabyteDB pins table partitions to regional tablespaces so writes reach consensus locally instead of across oceans — here's the DDL, the verification steps, and the availability trade-off.