Search code examples
redisstackexchange.redisdistributed-cachingazure-redis-cache

Azure Redis Cache - Read Through/Write Through


I am building an architecture where we would like to add a caching layer. Caching can have different patterns like cache-aside, read through, write through etc

I wanted to know if we can implement Read Through, Write Through in Azure Redis Managed Instance? I know Azure Redis Cache provides cache aside pattern feature but I would like to implement Read through pattern.

Does the managed instance natively provides read through/write through pattern? If yes, can you please send me the documentation of the implementation steps?


Solution

  • The manages instances don't provide read-through/write-through for that you'll need to use RedisGears module with one of the recipes: rgsync or rghibernate