Client Library for memcachedb
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
History.txt
LICENSE.txt
README.rdoc
Rakefile
memcachedb-client.gemspec

README.rdoc

memcachedb-client

A pure ruby library for accessing memcachedb. Forked from github.com/mperham/memcache-client

Source:

github.com/KellyMahan/memcachedb-client

Installing memcachedb-client

Just install the gem:

$ sudo gem install KellyMahan-memcachedb-client

Using memcachedb-client

With one server:

CACHE = MemCacheDb.new 'localhost:21201', :namespace => 'my_namespace'

Or with multiple servers:

CACHE = MemCacheDb.new %w[one.example.com:21201 two.example.com:21201],
                     :namespace => 'my_namespace'

See MemCacheDb.new for details. Please note memcachedb-client is not thread-safe by default. You should create a separate instance for each thread in your process.