Primary and Replica Query Load Balancing
https://orm.drizzle.team/docs/read-replicas
I have a setup for 1 primary and 1 replica. I have it configured similarly to the docs and can confirm that queries are going into the replica. The issue I have at the moment is that all queries are going into the replica, and I want it to be like 70% using the replica while 30% uses the primary. It seems like the configuration only allows weighted decisions based on replicas, not including the primary.
Drizzle ORM - Read Replicas
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
0 Replies