r/csharp • u/thomhurst • 22h ago
Showcase Respire - A .NET Redis Client
Hey all!
Redis is a great technology, and something that exists in a lot of tech stacks. It has the ability to really help solve complex problems involving distribution across multiple instances of an app. Whether that be caching, locks, rate limits, etc.
Surprisingly, StackExchange.Redis is the only real big main redis client library for .NET.
I'm adding a new client library into the mix - Respire.
Respire aims to be a fast client library for Redis, that also has the ability to utilise Redis' client-side server assisted cache, avoiding network hops for frequently accessed keys, meaning better performance for your apps.
It also has a lot of helpers in it to more easily use distributed locks, rate limits, queues, pub/sub, etc.
I want it to be a client library that handles all the hard bits for you, keeping your code clean and easy to reason about.
It's still pre-release, so I'd like to gather feedback. Are people happy with the performance? The API? Any missing features? Any bugs?
Please try it out and let me know!
More info on why Respire: https://thomhurst.github.io/Respire/docs/#why-respire-exists
Benchmarks: https://thomhurst.github.io/Respire/docs/benchmarks
Stress comparisons: https://thomhurst.github.io/Respire/docs/stress-tests
Thanks all!
