what is AlloyDB read pool used for? is it just the same as replicas?

1k Views Asked by At

i was moving to alloyDB thinking that it'll be smart enough to separate my read and write to the database, so the load of my primary CPU will not be overloaded like i used to face when i was using postgreSQL CloudSQL. i was wondering what is the advantage of using read pool? was it just the same like replicas?

1

There are 1 best solutions below

6
On

Correct, it's a replica pool with a load balancer in front of it basically. So the idea is you create a read pool per workload you want to offload. Could be that you only need one and it'll be robust enough for all the read-workloads, but if not, you can create multiple read pools per cluster to separate your read workloads as well.