General purpose redis client
C# Ruby Other
Latest commit 1cde191 Feb 9, 2017 @deepakverma deepakverma committed with NickCraver doc update for reconnect retry policy (#572)
* Update Configuration.md

* Update Configuration.md

* Update Configuration.md

* Update Configuration.md

* Update Configuration.md
Permalink
Failed to load latest commit information.
.nuget Lib updates Apr 13, 2015
BasicTest Fixup basic test Sep 1, 2016
ConnectionWatcher Refactor project structure to be more manageable; move to CORE_CLR fo… Dec 10, 2015
Docs doc update for reconnect retry policy (#572) Feb 9, 2017
MigratedBookSleeveTestSuite Work around build issue for existing csproj's Aug 24, 2016
Redis Configs Prep for some redis updates; server update and lib check Nov 17, 2016
StackExchange.Redis.StrongName 1.2.0 release Jan 11, 2017
StackExchange.Redis.Tests SE.Redis Reconnect retry policy (#510) Feb 9, 2017
StackExchange.Redis.Tests_Net46 Working around dotnet/cli#1342 Jul 20, 2016
StackExchange.Redis SE.Redis Reconnect retry policy (#510) Feb 9, 2017
StackExchange.Redis_Net40 Working around dotnet/cli#1342 Jul 20, 2016
StackExchange.Redis_Net45 Working around dotnet/cli#1342 Jul 20, 2016
StackExchange.Redis_Net46 remove PLAT_SAFE_CONTINUATIONS; add ECHO; pakage for Nuget Sep 3, 2016
packages Prep for some redis updates; server update and lib check Nov 17, 2016
.gitignore remove PLAT_SAFE_CONTINUATIONS; add ECHO; pakage for Nuget Sep 3, 2016
.hgignore Update MS redis (local dev server) to 2.8.4 Mar 27, 2014
LICENSE Meh, actually: less is clearer here. Let them read the license. Apr 17, 2014
NuGet.Config RC2 upgrades to get an alpha out May 20, 2016
README.md Docs: proper syntax highlighting on GitHub Dec 22, 2015
StackExchange.Redis.Core.sln Fix background connection exception handling in Core Jul 8, 2016
StackExchange.Redis.StrongName.nuspec nuspec update for strongname package as well #397 May 24, 2016
StackExchange.Redis.dnx.sln Fixup basic test Sep 1, 2016
StackExchange.Redis.nuspec net 40 project packages.config already has dependency on 1.1.10 updat… Apr 21, 2016
StackExchange.Redis.sln Refactor project structure to be more manageable; move to CORE_CLR fo… Dec 10, 2015
StackExchange.Redis.sln.DotSettings Code cleanup and C#6 feature use Jan 29, 2016
StackExchange.Redis.snk Strong named deploy (parallel and separate) Jun 24, 2014
StrongName.ps1 Strong named deploy (parallel and separate) Jun 24, 2014
build.msbuild Support Net40 Apr 14, 2014
global.json .NET Core RTM update Jun 29, 2016
monobuild.bash Tell mono folks why their DNS-based connect fails, and what to do abo… May 6, 2014
monobuild.cmd Tell mono folks why their DNS-based connect fails, and what to do abo… May 6, 2014
netbuild.cmd fix partial interfaces; codemaid; split SocketManager.Poll.cs code ou… Mar 26, 2014

README.md

StackExchange.Redis

StackExchange.Redis is a high performance general purpose redis client for .NET languages (C# etc). It is the logical successor to BookSleeve, and is the client developed-by (and used-by) Stack Exchange for busy sites like Stack Overflow. For the full reasons why this library was created (i.e. "What about BookSleeve?") please see here.

Features

  • High performance multiplexed design, allowing for efficient use of shared connections from multiple calling threads
  • Abstraction over redis node configuration: the client can silently negotiate multiple redis servers for robustness and availability
  • Convenient access to the full redis feature-set
  • Full dual programming model both synchronous and asynchronous usage, without requiring "sync over async" usage of the TPL
  • Support for redis "cluster"

Installation

StackExchange.Redis can be installed via the nuget UI (as StackExchange.Redis), or via the nuget package manager console:

PM> Install-Package StackExchange.Redis

If you require a strong-named package (because your project is strong-named), then you may wish to use instead:

PM> Install-Package StackExchange.Redis.StrongName

(for further reading, see here)

Documentation

Questions and Contributions

If you think you have found a bug or have a feature request, please report an issue, or if appropriate: submit a pull request. If you have a question, feel free to contact me.