Relational Data at the Edge: How Cloudflare Operates Distributed PostgreSQL Clusters
Briefly

Embedding storage and compute at the edge delivers significant performance gains by reducing location-sensitive latency. Challenges include CAP constraints and replication lag.
Cloudflare operates a distributed cross-region database architecture, distributing PostgreSQL across multiple regions for resilience and quick failovers. Replication lag poses a significant challenge.
This is a summary of a talk we gave at QCon San Francisco in October 2023 where we discussed the high availability setup and considered the tradeoffs that Cloudflare had to make around each part of the system.
Read at InfoQ
[
add
]
[
|
|
]