[erlang-questions] ets+dets

Lloyd R. Prentice lloyd@REDACTED
Wed May 10 01:35:13 CEST 2017


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




More information about the erlang-questions mailing list