This is a Riak storage backend that uses WiredTiger, an Erlang interface to the WiredTiger k/v pair storage engine, and an abstract async thread-pool layer for Erlang's NIF API called c_src/async_nif.h.
Find a file
Steve Vinoski 99a51980eb store session as kv backend state
In order to reduce the number of wiredtiger session open/close calls,
open a session at startup and keep it in the kv backend state. This is
safe as far as using these sessions on scheduler threads goes because
the riak_kv_vnode fsm serializes all calls through the backend, so
we'll never have a case of multiple scheduler threads concurrently
trying to use the same session.
2012-03-10 13:02:52 -05:00
c_src Replace enif_alloc_binary/enif_make_binary call pairs with a single 2012-02-20 13:30:09 -05:00
src store session as kv backend state 2012-03-10 13:02:52 -05:00
.gitignore add emacs backup files to .gitignore 2012-02-16 13:32:29 -05:00
Makefile Make it a text file (newline at end). 2012-02-16 13:02:37 -05:00
rebar Initial commit 2011-12-18 13:54:46 -07:00
rebar.config Basics of conn/session instantiation working 2011-12-21 21:46:35 -07:00