<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Jan 7, 2016 at 9:30 AM Mikael Pettersson <<a href="mailto:mikpelinux@gmail.com">mikpelinux@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Benoit Chesneau writes:<br>
> I'm trying to understand how to use the lib. Can 1 process open the<br>
> database, while many others can read/write to it?<br>
<br>
Some process must open or create the specific leveldb table first, which<br>
creates a supervised manager process for the table. Then any number of<br>
processes may read/write it via the registered name of that manager.<br>
<br>
The API is essentially the same as for plain eleveldb.<br></blockquote><div><br></div><div><br></div><div>OK I see thanks!</div><div><br></div><div><br></div><div>- benoît</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
><br>
> - benoît<br>
><br>
> On Fri, Jul 10, 2015 at 2:33 PM Richard Carlsson <<a href="mailto:carlsson.richard@gmail.com" target="_blank">carlsson.richard@gmail.com</a>><br>
> wrote:<br>
><br>
> > In order to be able to snapshot and back up a leveldb instance without<br>
> > stopping the Erlang node (or shutting down eleveldb), we have written a<br>
> > manager application that lets you temporarily stop leveldb traffic and<br>
> > perform the snapshot (a very quick operation):<br>
> ><br>
> > <a href="https://github.com/klarna/leveldb_manager" rel="noreferrer" target="_blank">https://github.com/klarna/leveldb_manager</a><br>
> ><br>
> > We would prefer if this made it into the eleveldb distribution itself, in<br>
> > some shape, but for now the cleanest solution was to make it a separate<br>
> > application with its own supervision.<br>
> ><br>
> > /Richard<br>
> > _______________________________________________<br>
> > erlang-questions mailing list<br>
> > <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
> > <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
> ><br>
><br>
> ----------------------------------------------------------------------<br>
> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
--<br>
</blockquote></div></div>