scredis / scredis

Non-blocking, ultra-fast Scala Redis client built on top of Akka IO.

Home Page:https://scredis.github.io/scredis/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does scredis support readonly to only read from slave and not master ?

amishra123 opened this issue · comments

I didn't find support for readonly in scredis but just wanted to double-check in case i missed it.
Is there a way i can do hmget only from slaves.I don't want it to read from master as those are getting throttled.So I want to mark it readonly when creating a RedisCluster to read from slaves.
Do you have suggestions/idea?

This is not implemented, but you're welcome to contribute :)
The place to start looking is in ClusterConnection

okay.cool.thanks for getting back.