You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository shows an example Rend server with an LMDB backend (as opposed to the standard one
that speaks memcached). The code to create this version of Rend consists of an implementation of
github.com/netflix/rend/handlers.Handler only. Beyond that, there is an example server
implementation that shows how to wire up the LMDB backend with a Rend server.
The Rend project can be used as a library as well as a server. The project has a default server
which showcases the full capabilities it has, however using a library like this one, Rend can be
extended to use any backend storage.
The performance of Rend will be different based on the backend used, for example memcached stores
data only in memory but this libary could possibly store data partially on disk and partially in
memory - the same semantics as the underlying LMDB store.
$ nc localhost 12121
> get foo
NOT_FOUND
> set foo 0 0 6
> foobar
STORED
> get foo
END
> touch foo 2
TOUCHED
> get foo
VALUE foo 0 6
foobar
END
> get foo
END
> quit
Bye