[erlang-questions] [ANN] leveldb_manager: a helper to eleveldb for in-flight backups

Benoit Chesneau bchesneau@REDACTED
Fri Jan 8 11:19:37 CET 2016


On Thu, Jan 7, 2016 at 9:30 AM Mikael Pettersson <mikpelinux@REDACTED>
wrote:

> Benoit Chesneau writes:
>  > I'm trying to understand how to use the lib. Can 1 process open the
>  > database, while many others can read/write to it?
>
> Some process must open or create the specific leveldb table first, which
> creates a supervised manager process for the table.  Then any number of
> processes may read/write it via the registered name of that manager.
>
> The API is essentially the same as for plain eleveldb.
>


OK I see thanks!


- benoît

>
>  >
>  > - benoît
>  >
>  > On Fri, Jul 10, 2015 at 2:33 PM Richard Carlsson <
> carlsson.richard@REDACTED>
>  > wrote:
>  >
>  > > In order to be able to snapshot and back up a leveldb instance without
>  > > stopping the Erlang node (or shutting down eleveldb), we have written
> a
>  > > manager application that lets you temporarily stop leveldb traffic and
>  > > perform the snapshot (a very quick operation):
>  > >
>  > > https://github.com/klarna/leveldb_manager
>  > >
>  > > We would prefer if this made it into the eleveldb distribution
> itself, in
>  > > some shape, but for now the cleanest solution was to make it a
> separate
>  > > application with its own supervision.
>  > >
>  > >         /Richard
>  > > _______________________________________________
>  > > erlang-questions mailing list
>  > > erlang-questions@REDACTED
>  > > http://erlang.org/mailman/listinfo/erlang-questions
>  > >
>  >
>  > ----------------------------------------------------------------------
>  > _______________________________________________
>  > erlang-questions mailing list
>  > erlang-questions@REDACTED
>  > http://erlang.org/mailman/listinfo/erlang-questions
>
> --
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160108/332c8bee/attachment.htm>


More information about the erlang-questions mailing list