Citus scales out PostgreSQL through using the extension APIs. To do this, Citus shards and replicates data, performs distributed deadlock detection, and parallelizes queries across a cluster of machines.
This talk describes the distributed systems challenges we faced at Citus and how we addressed them. In particular, we'll talk about three problems we tackled when scaling out Postgres:
- Three strategies to high availability and disaster recovery in Postgres
- Using Postgres' extension framework to route and parallelize queries across a cluster of machines
- The relationship between distributed consistency and locks; and how to resolve distributed deadlocks
Finally, we'll talk about open challenges around scaling out Postgres. We'll then conclude the talk with Q&A.