Thursday, 18 May 2017

Redis replication for read scaling with node

I'd like to use Redis replication ("master-slave") as a means to achieve reading scalability. From I gathered from the documentation, I can have my reads split between many slaves - while I'm limited to write to the master.

I'm using node and there are two libraries out there that can be used to connect to redis: ioredis and node-redis. I was unable to understand how to setup any of those to do split reading so I don't know whether that's transparent (I guess not) or if none of those libs can do it.



via Bruno Brant

No comments:

Post a Comment