No commit activity in last 3 years
No release in over 3 years
A Ruby library for accessing memcachedb. Forked from memcache-client
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

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.