Company
Date Published
Author
Marko Rajcevic
Word count
635
Language
English
Hacker News points
None

Summary

You can achieve region-level fault tolerance while using row-level geo-partitioning in YugabyteDB by configuring tablespaces to have replicas in multiple regions and enabling follower reads, which allows for lower read latencies by taking advantage of local data placement on nodes. This approach is useful for "global" tables that need to be accessed from all regions and contain data without restrictions, and can be accomplished through tablespace placement policies allowing independent replication factors. However, this method also incurs higher write latency due to the impact of follower reads on network latency and quorum commit, and should only be enabled if use cases allow for stale reads, including those to the tablet leader.