An abstraction layer for CRUDing objects to any key/value storage supporting the memcached protocol (memcachedb, Tokyo Tyrant, etc)
- uuidtools gem (1.0.7)
- json gem (1.1.3)
- memcache-client (or equivalent) gem
-
Start memcachedb (or your db of choice):
sudo memcachedb -r -u root -H /var/db/bdb/test1 -N
or with Tokyo Tyrant/Cabinet (Hash)
sudo ttserver -port 21201 /var/db/bdb/test.tch
or with Tokyo Tyrant/Cabinet (B-Tree)
sudo ttserver -port 21201 /var/db/bdb/test.tcb
or with Kai
erl -pa ebin -config kai -kai n 1 -kai r 1 -kai w 1 -kai memcache_port 21201
-
Run the benchmarks:
rake benchmark
Copyright (c) 2009 Brian Smith. See LICENSE for details.