Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.32 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.32 KB

Nemcache

Nemcache is a persistent, key-value store implemented in C# 4.5. It is client compatible with Memcache (an in-memory key-value store).

Installation

Nemcache uses TopShelf to handle service installation. First, clone the repository:

git clone https://github.com/dave-hillier/nemcache.git

After cloning the repository, run either msbuild or open Nemcache.Sln in Visual Studio and build.

To start the service as a command line application, simply run Nemcache.Service.exe

To install as a windows service:

Nemcache.Service.exe install

Followed by this to start:

Nemcache.Service.exe start

For more information about the command line parameters use help:

Nemcache.Service.exe help

Status

The following commands from the Memcached specification are implemented: get (and gets), set, add, replace, delete, append, prepend, incr, decr, touch, flush_all, cas, quit and version.

Currently only TCP is supported including the noreply mode.

Flags support up-to 64 bit values, although this is a divergence from the original spec and therefore might not be supported by your client.

The cache is persisted to file so state can be maintained across cache restarts.