I am just starting to use Redis for the first time. I have gone through the documentation and I came to know that Redis can be used in replication mode. But, I have some questions which are still un-answered. Let's have a quick view of use-case
Is it possible to setup same backend/disk storage for both master and slave? A solution can be that I use Redis on a single server, e.g on web1. In this case requests on web2 uses Redis cache of web1. In this case I will get a delay by network. I want to avoid this situation because I want to utilize full performance of Redis i.e reading from the memory.
Is there any other workaround?
If your master Redis instance is on Web1 then all writes will have to go here. You can however read from the slave instance on Web2 locally.