Skip to content

KellyMahan/memcachedb-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages