derekkraan / delta_crdt_ex

Use DeltaCrdt to build distributed applications in Elixir
MIT License
505 stars 37 forks source link

State of AWSet implementation #12

Closed farhadi closed 5 years ago

farhadi commented 5 years ago

Hi Derek,

I was trying to write a distributed process group on top of your awesome DeltaCrdt package. But it seems AWSet implementation is not ready yet.

I tried to add an element to an AWSet and it failed with this error: function DeltaCrdt.AWSet.minimum_deltas/2 is undefined or private

Also I can not read the state of an AWSet because read function is not implemented for AWSet.

Am I doing something wrong or it's not ready yet? I thought maybe I can help If you give me some hints.

derekkraan commented 5 years ago

It is not implemented yet. There should be links to the papers in the readme, that'll have details of how the read should work. You can implement a passthrough minimum_delta for now if you just want to see it working first.

Happy to answer any questions you might have while puzzling this out.

On Wed., Jan. 9, 2019, 12:24 Ali Farhadi <notifications@github.com wrote:

Hi Derek,

I was trying to write a distributed process group on top of your awesome DeltaCrdt package. But it seems AWSet implementation is not ready yet.

I tried to add an element to an AWSet and it failed with this error: function DeltaCrdt.AWSet.minimum_deltas/2 is undefined or private

Also I can not read the state of an AWSet because read function is not implemented for AWSet.

Am I doing something wrong or it's not ready yet? I thought maybe I can help If you give me some hints.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/derekkraan/delta_crdt_ex/issues/12, or mute the thread https://github.com/notifications/unsubscribe-auth/AAf3rZE3YuQh13VQA04siY58FILvMl5Aks5vBdFhgaJpZM4Z3SVN .

derekkraan commented 5 years ago

I'm going to close this for now. Feel free to continue the discussion below.