[erlang-questions] ets+dets

Vlad Dumitrescu vladdu55@REDACTED
Wed May 10 10:21:09 CEST 2017


Hi Lloyd,

That is an interesting tool, I might be able to divert it from its original
usage. Thanks!

regards,
Vlad



On Wed, May 10, 2017 at 1:35 AM, Lloyd R. Prentice <lloyd@REDACTED>
wrote:

> Hi Vlad,
>
> My understanding is that dets lookups do involve disk-lookup latencies.
> But maybe ETSHandler will provide the functionality you need.
>
> https://github.com/zsoci/ETSHandler
>
> All the best,
>
> Lloyd
>
> Sent from my iPad
>
> > On May 9, 2017, at 4:00 PM, Vlad Dumitrescu <vladdu55@REDACTED> wrote:
> >
> > Hi all,
> >
> > I need to implement a simple key-value store that should be persistent
> (on disk) but have a fast in-memory cache for the recently used entries
> (possibly with a configurable policy) and with little concurrent access. I
> was thinking of an ets+dets combo, but it may be tricky to get the details
> right. Is there something like this out there? Would it be better to just
> use mnesia? I'd like to keep it lean, but if third-party databases fit the
> bill, I will look at them.
> >
> > best regards,
> > Vlad
> >
> > _______________________________________________
> > 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/20170510/e68d632c/attachment.htm>


More information about the erlang-questions mailing list