3 ms·
DiscoDB does exactly what you described: It memory maps a large read-only data structure in RAM. It has an Erlang binding based on NIFs. http://discodb.readthe
by vtuulos 11y ago
DiscoDB does exactly what you described: It memory maps a large read-only data structure in RAM. It has an Erlang binding based on NIFs.
http://discodb.readthedocs.org/en/latest/ http://discodb.readthedocs.org/en/latest/
https://github.com/discoproject/discodb https://github.com/discoproject/discodb
- white-flame 11y agoThat's not the type of interface you'd want to build algorithms on which are constantly and deeply traversing data object links, if any type of performance is required. Same thing as with ETS or SQL. Implementing traversal-heavy algorithms across a large in-RAM data network does not require external tools, and is not helped either in performance or simplicity by decoupling direct pointer-based linkages into hash keys, and speaking to external interfaces. At least not for the work we were doing.