memcache client support in dbslayer

2 views
Skip to first unread message

Michael Welles

unread,
Dec 24, 2007, 5:45:32 PM12/24/07
to dbsl...@googlegroups.com
A version of dbslayer with memcache support support is now available
in svn. To use:

Build and install apr_memcache from subversion as follows:

- svn co http://svn.northnitch.com/apr_memcache/trunk apr_memcache
- cd apr_memcache && aclocal && autoconf && automake && ./configure
--prefix=/usr/local
- cd apr_memcache && sudo make install

Then grab and build the "mwelles" branch of dbslayer :

- svn co http://www.dbslayer.org/svn/dbslayer/branches/mwelles
dbslayer-mwelles dbslayer-experimental
- cd dbslayer-experimental && aclocal && autoconf && automake &&
./configure --prefix=/usr/local
- cd dbslayer-experimental && make && sudo make install

See if it's working properly:

- ./dbslayer-expermintal/tests/unit-tests.rb


This branch also contains support for input, output, and mapping
filters in LUA (should lua be available), as well as the ability to
query schema layout in JSON.

For usage examples, see the tests under tests/unit-tests.rb

The nutshell version: add "CACHE: [TTL]" to your json and you're good
to go, should the dbslayer daemon have a connection to a memcache
server.


-- Mike

Reply all
Reply to author
Forward
0 new messages