4 ms·
The BeamVM languages (Erlang, Elixir) seem to have this in the form of Mnesia, and libraries that are built on top of it, such as riak-core.
by s_kilk 7y ago
The BeamVM languages (Erlang, Elixir) seem to have this in the form of Mnesia, and libraries that are built on top of it, such as riak-core.
- StreamBright 7y agoRiak uses Mnesia?
- ergl 7y agoNot that I know, but it uses ETS to handle state, and the global process registry to store peer information, as far as I know. Also, be aware that OP mentioned riak-core, which is a different thing from Riak. riak-core is a library to build dynamo-style distributed applications, which gives you virtual nodes, consistent hashing and data migration as building blocks.
- elcritch 7y agoRiak KV uses leveldb, but as @ergl mentioned, riak-core is essentially a hash-ring and replication (aka dynamo) layer.
- dillonmckay 7y agoHa! I was just about to ask about that. ‘I bet Elixir already has something like this’.