Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
General purpose redis client
C# Other
branch: master
Failed to load latest commit information.
.nuget Lib updates
BasicTest Remove unused usings
ConnectionWatcher Remove unused usings
Docs Update Configuration.md
MigratedBookSleeveTestSuite Merge branch 'profiling-squashed-v4' of https://github.com/kevin-mont…
Redis Configs Investigation into #182
StackExchange.Redis.Tests Merge branch 'profiling-squashed-v4' of https://github.com/kevin-mont…
StackExchange.Redis Check for available data even if socket-poll is failing to report data
StackExchange.Redis_Net40 Merge branch 'profiling-squashed-v4' of https://github.com/kevin-mont…
packages Show the manager state
.gitignore squash named-script-parameters branch into a single commit
.hgignore Update MS redis (local dev server) to 2.8.4
LICENSE Meh, actually: less is clearer here. Let them read the license.
README.md Add README links to Profiling and Scripting docs
StackExchange.Redis.StrongName.nuspec Update nuget packages
StackExchange.Redis.md.sln mono/linxux build script
StackExchange.Redis.nuspec Update nuget packages
StackExchange.Redis.sln Resumable scanning operators; KEYS first
StackExchange.Redis.snk Strong named deploy (parallel and separate)
StrongName.ps1 Strong named deploy (parallel and separate)
build.msbuild Support Net40
monobuild.bash Tell mono folks why their DNS-based connect fails, and what to do abo…
monobuild.cmd Tell mono folks why their DNS-based connect fails, and what to do abo…
netbuild.cmd fix partial interfaces; codemaid; split SocketManager.Poll.cs code ou…

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.

Something went wrong with that request. Please try again.