Replies: 1 comment 1 reply
-
Something that feels sorely missing from the read replicas offering is a simple way to route connections. We get one postgres connection string for each replica and have to handle routing ourselves. I would love if supavisor could route reads to the nearest replica by location (to minimise latency) and writes to the primary database, all with one connection string. The API load balancer doesn't offer this functionality either, it distributes equally among all replicas. Which makes having replicas in multiple regions seem completely pointless to me, unless I'm missing something. My team and I have found it somewhat confusing since the docs all give the impression that replicas are intended for deploying data closer to users and minimising latency, but the functionality for that isn't actually there, you have to roll it yourself. |
Beta Was this translation helpful? Give feedback.
-
This discussion is for tracking feedback and possible issues for Supabase Read Replicas.
Beta Was this translation helpful? Give feedback.
All reactions