You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using read replicas, we right now select the database for a connection in a round robin fashion. But since the primary will always have to do more work (indexing and serving subscriptions), the utilization of the read replica(s) will have a ceiling well short of 100%.
Instead of round-robin, we should select read replicas by using the pool with the smallest connection wait time as that is a decent proxy for database load.