memcache: A memcached client library.
A client library for a memcached cluster. Memcached is an in-memory key-value store typically used as a distributed and shared cache. Clients connect to a group of memcached servers and perform out-of-band caching for things like SQL results, rendered pages, or third-party APIs.
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. Timeouts, retrying failed operations, and failover to a different server are all supported.
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.def 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.
[Skip to Readme]
Modules
[Index]
Downloads
- memcache-0.2.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.0.0, 0.0.1, 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.0.1, 0.3.0.0, 0.3.0.1, 0.3.0.2 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (<5), binary (>=0.6.2.0), blaze-builder (>=0.3.1.0), bytestring (>=0.9.2.1), data-default-class (>=0.1.0), hashable (>=1.2.0.3), network (>=2.4), resource-pool (>=0.2.1.0), time (>=1.4), vector (>=0.7) [details] |
License | BSD-3-Clause |
Copyright | 2016 David Terei. |
Author | David Terei <code@davidterei.com> |
Maintainer | David Terei <code@davidterei.com> |
Category | Database |
Home page | https://github.com/dterei/memcache-hs |
Bug tracker | https://github.com/dterei/memcache-hs/issues |
Source repo | this: git clone https://github.com/dterei/memcache-hs.git(tag 0.1.0.1) head: git clone https://github.com/dterei/memcache-hs.git |
Uploaded | by DavidTerei at 2016-05-28T01:21:36Z |
Distributions | LTSHaskell:0.3.0.2, NixOS:0.3.0.2, Stackage:0.3.0.2 |
Reverse Dependencies | 5 direct, 0 indirect [details] |
Downloads | 4983 total (51 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2016-05-28 [all 1 reports] |