charts icon indicating copy to clipboard operation
charts copied to clipboard

[chart/redis-ha][service to expose the read only replicas]

Open MrNghia123 opened this issue 2 years ago • 1 comments

Thank you for an awesome chart. Is your feature request related to a problem? Please describe. Currently there is no service to expose only the read replicas, so we can not distribute read-only loads.

Describe the solution you'd like A service to expose the read-only replicas. Preferably it can point to the master when there is no replicas left.

Describe alternatives you've considered Using the headless service -redis-ha. Is it supposed to return a random endpoint from both the master and the replicas? I am not sure if it is a best practice. Also, we want to exclude the master.

Additional context In our app we have 1 master and 2 replicas. If we can read only from the replicas we can share the load better in normal condition.

MrNghia123 avatar Dec 07 '23 01:12 MrNghia123

@MrNghia123 If its read-only workloads, can the round robin of the standard service / headless service fulfil your needs?

That can effective ship any connections you would have to an instance and since they would be read-only workloads, any instance can serve?

DandyDeveloper avatar Feb 05 '24 17:02 DandyDeveloper