Skip to content
This repository was archived by the owner on Nov 19, 2021. It is now read-only.

Repository files navigation

RedisRetry

Build status

A simple retry wrapper for StackExchange.Redis

Features

RedisRetry is a library that you can add to your project that will extend your IDatabase interface.

It provides retry functionality (using Polly) for common Redis commands.

When is it safe to retry?

Each application needs to decide what operations can be retried and which cannot. See https://gist.github.com/JonCole/925630df72be1351b21440625ff2671f#when-is-it-safe-to-retry for a more in-depth answer.

For most applications idempotent operations should be safe to retry. For example HashGetAsync or KeyExpireAsync are idempotent while HashIncrementAsync is not.

About

A retry wrapper for StackExchange.Redis

Resources

Stars

3 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages