3 ms·
I'm curious how Erlang's BEAM/OTP would handle storing large graphs across servers. (My understanding is that it can probably support that?)
by fouc 8y ago
I'm curious how Erlang's BEAM/OTP would handle storing large graphs across servers. (My understanding is that it can probably support that?)
- RobertKerans 8y agoOut of the box, imo it'll be faffy and probably not worth it vs just using an existing solution. :digraph is great, having a graph structure available out of the box in the standard library is super nice for certain things, but it's 3 ETS tables, and ETS tables can't be replicated across nodes. MNesia tables can (that's the point), so replicating how :digraph works using MNesia is probably fairly doable (I assume this has been tried but I haven't investigated it)