neondatabase / neon

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.
https://neon.tech
Apache License 2.0
14.78k stars 430 forks source link

Discuss HA strategies for pageservers - Active/Standby #3749

Closed shanyp closed 9 months ago

shanyp commented 1 year ago

https://neondb.slack.com/archives/C033RQ5SPDH/p1678007277320459

vadim2404 commented 1 year ago

I want to raise the priority for this ticket. Ultimately, we want to have read replicas in different regions. In order to reduce the latency, we want to have “Standy” pageserver nearby

shanyp commented 1 year ago

Don't we want the replica to be of a specific tenant?

vadim2404 commented 1 year ago

yes, we need to replicate data per tenant

shanyp commented 1 year ago

@LizardWizzard @hlinnaka before starting the deep dive discussion here, do we have this already partially covered for the read-only state for tenant relocation?

LizardWizzard commented 1 year ago

It depends on what is meant by HA. What are the requirements?