horde icon indicating copy to clipboard operation
horde copied to clipboard

Horde.Registry supports `keys: :duplicate`

Open derekkraan opened this issue 7 years ago • 4 comments

For feature parity with Elixir's Registry, Horde.Registry needs to support keys: :duplicate.

derekkraan avatar Nov 14 '18 12:11 derekkraan

@derekkraan I was thinking, can we replace the keys_#{registry} ETS by an actual Elixir.Registry on each node, this can lead to fewer updates to keep this API up to date with the native version?

shikanime avatar May 14 '19 01:05 shikanime

It would be really nice! But unfortunately Elixir.Registry only works on local pids.

derekkraan avatar May 14 '19 05:05 derekkraan

I recently looked at riak_core and partisan more deeply and I was wondering if this might be relevant instead of reinventing the wheel. Since its kind of battle tested and enables redundancy and redistribution of data on cluster topology changes coupled with a simple ets.

shikanime avatar Sep 24 '19 23:09 shikanime

@Shikanime can you elaborate?

derekkraan avatar Sep 25 '19 06:09 derekkraan