From: "Sven C. Koehler" Date: 2009-04-06T03:54:13+09:00 Subject: [ANN] Localmemcache-0.2.1: The beauty of memcached. For local data. Blazingly fast. Hi, this release addresses some bugs that people were experiencing and brings speed improvements. === Localmemcache that aims to provide an interface similar to memcached but for accessing local data instead of remote data. It's based on mmap()'ed shared memory for maximum speed. * http://localmemcache.rubyforge.org/ === Changes for 0.2.1: * Fixed a bug that prevented setting values in the hashtable * Accessing a closed memory cache does no longer result in a crash * Speed improvements: On my machine localmemcache is now only about 20% slower than Ruby's hash (0.2.0 was about 40% slower) * OS X is now officially not supported as it lacks sem_timedwait and sem_getvalue (You still can force a build but it won't be able to recover from crashes.) * The environment variable LMC_NAMESPACES_ROOT_PATH can now be used to override the default, which is /var/tmp/localmemcache EXAMPLE ======= require 'localmemcache' $lm = LocalMemCache.new :namespace => "viewcounters" $lm[:foo] = 1 $lm[:foo] $lm.delete(:foo) INSTALL ======= # gem install localmemcache (In case rubyforge has not yet updated the mirrors, fetch the 0.2.1 gem from here: http://github.com/sck/localmemcache/downloads and then do # gem install localmemcache-0.2.1.gem ) CONTACT ======= Please contact me with bugs, suggestions and patches at: schween + snafu # de LINKS ===== Localmemcache: http://localmemcache.rubyforge.org/ Rubyforge project: http://localmemcache.rubyforge.org/ Source code is hosted on github: http://github.com/sck/localmemcache/ Best, Sven C. Koehler 4e25d2a677e6723f706d47da4dfd68cd localmemcache-0.2.1.gem 1658b6d660d64dbf57642789f49875e7 localmemcache-0.2.1.tar.gz