@hackage memcache0.1.0.0

A memcached client library.

A client library for a memcached cluster.

It supports the binary memcached protocol and SASL authentication. No support for the ASCII protocol is provided. It supports connecting to a single, or a cluster of memcached servers. When connecting to a cluser, consistent hashing is used for routing requests to the appropriate server.

Complete coverage of the memcached protocol is provided except for multi-get and other pipelined operations.

Basic usage is:

import qualified Database.Memcache.Client as M

mc <- M.newClient [M.ServerSpec "localhost" 11211 M.NoAuth] M.defaultOptions
M.set mc "key" "value" 0 0
v <- M.get mc "key"

You should only need to import Database.Memcache.Client, but for now other modules are exposed.