[erlang-questions] where it's the best way to store a very big term object shared between processes

Jesper Louis Andersen <>
Thu Oct 22 13:56:39 CEST 2015


On Thu, Oct 22, 2015 at 1:19 PM, Adam Krupička <>
wrote:

> The gen_server approach would be more efficient; most efficient would be
> storing a copy of the trie in each process (but also most memory
> wasteful).
>

Alternatively, level compress[0] the first few levels into N processes.

[0] Technically you then get a concurrent level-compressed trie.


-- 
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151022/3441e91e/attachment.html>


More information about the erlang-questions mailing list