Search code examples
.netredisstackexchange.redisservicestack.redis

Redis Client Side Caching for .Net


Redis 6 has introduced a feature supporting Client Side Caching and is described in here: https://redis.io/topics/client-side-caching

I tried out the ServiceStack.Redis and StackExchange.Redis clients, but couldn't make either of them handle it.

Can anyone help with a working example in C#/.Net? (any client)


Solution

  • You can try the high performance RESP3 supported TheUniversalCity.RedisClient library linked below. If you use the client caching mechanism, you'll see about 30x faster than Stackexchange.Redis. Even if you don't use the client caching mechanism, it's already at least twice as fast as Stackexchange.Redis.

    This library support;

    • RESP3 protocol and also client side caching.
    • High speed auto pipelining algorithim

    https://github.com/TheUniversalCity/RedisClient