General purpose redis client
C# Other
Latest commit 00a0d5f Jul 22, 2016 @mgravell mgravell committed on GitHub Merge pull request #452 from rossipedia/subscribe-secondary
Use the supplied flags when selecting a server to subscribe to
Failed to load latest commit information.
.nuget Lib updates Apr 13, 2015
BasicTest RC2 upgrades to get an alpha out May 20, 2016
BasicTest_dnxcore50 RC2 upgrades to get an alpha out May 20, 2016
ConnectionWatcher Refactor project structure to be more manageable; move to CORE_CLR fo… Dec 10, 2015
Docs Configuring the minIoThreads Jul 5, 2016
MigratedBookSleeveTestSuite Set default version to 3.0 for Azure Mar 16, 2016
Redis Configs Investigation into #182 Apr 13, 2015
StackExchange.Redis.StrongName RC2 upgrades to get an alpha out May 20, 2016
StackExchange.Redis.Tests RC2 upgrades to get an alpha out May 20, 2016
StackExchange.Redis.Tests_Net46 Refactor project structure to be more manageable; move to CORE_CLR fo… Dec 10, 2015
StackExchange.Redis Use the supplied flags when selecting a server to subscribe to Jul 22, 2016
StackExchange.Redis_Net40 Refactor project structure to be more manageable; move to CORE_CLR fo… Dec 10, 2015
StackExchange.Redis_Net45 Refactor project structure to be more manageable; move to CORE_CLR fo… Dec 10, 2015
StackExchange.Redis_Net46 Refactor project structure to be more manageable; move to CORE_CLR fo… Dec 10, 2015
packages Refactor project structure to be more manageable; move to CORE_CLR fo… Dec 10, 2015
.gitignore Attempt to fix the whitespace/encoding issue with Emacs. Nov 25, 2015
.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.StrongName.nuspec nuspec update for strongname package as well #397 May 24, 2016
StackExchange.Redis.dnx.sln RC2 upgrades to get an alpha out May 20, 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 RC2 upgrades to get an alpha out May 20, 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.