Sunday, 16 October 2011

Memcached C#


Memcached is a distributed object memory caching system, acting as an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.


Client library source and demo for C#:

Client library binary for C#:

Server runtime for Windows:

How to start the Server

To run the server with 2 Gb of memory (2000Mb), copy the files from the above server download into C:\Program Files\memcached directory and execute the following command:


Simple client code example

Benchmark with simple example: key=“key:n”, value=”MyData”

Example benchmarks with 1 million sets and gets, the source code can be found within the client library download above:


1 comment:

  1. hi can explain how much value one memcache server can hold?