Performance isolation in a multi-tenant database environment
Cloudflare's Postgres clusters support multiple tenants with varying load conditions, leading to the need for isolation to prevent one tenant from taking too much time from others. The company has implemented gateway concurrency throttling at its database proxy server/connection pooler, PgBouncer, allowing faster and more granular "load shedding" against a misbehaving tenant's concurrency. Future solutions include automated approaches to enforce strict tenant performance isolation, such as congestion avoidance algorithms and configurable resource quotas per tenant. The goal is to prevent database server resource starvation and improve overall system performance.
Company
Cloudflare
Date published
Aug. 26, 2022
Author(s)
Justin Kwan, Vignesh Ravichandran
Word count
1996
Language
English
Hacker News points
3