Skip to content
This repository

General purpose redis client

branch: master
.nuget Update MS redis (local dev server) to 2.8.4
BasicTest Tell mono folks why their DNS-based connect fails, and what to do abo…
ConnectionWatcher fix partial interfaces; codemaid; split SocketManager.Poll.cs code ou…
Docs Column headings
MigratedBookSleeveTestSuite Migrated: BookSleeve locking tests
Redis Configs maxheap for dev server configs
StackExchange.Redis.Tests Additional test for ZREVRANGE
StackExchange.Redis for NOAUTH Authentication required. recordconnection failure
StackExchange.Redis_Net40 MIGRATE command
packages Support Net40
.gitignore Update MS redis (local dev server) to 2.8.4
.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 documentation error: scripting has been fully supported for ages
StackExchange.Redis.md.sln mono/linxux build script
StackExchange.Redis.nuspec need to explicitly include an empty net45 section to indicate no deps…
StackExchange.Redis.sln Support Net40
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

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.