Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronization #20

Open
rtens opened this issue Feb 27, 2017 · 0 comments
Open

Synchronization #20

rtens opened this issue Feb 27, 2017 · 0 comments

Comments

@rtens
Copy link
Contributor

rtens commented Feb 27, 2017

It should be possible to clone one zell over multiple dishes. This is mainly for optimiz ation but I think it's crucial, especially in combination with automatic migration. Together it would allow a dish to "download" any zell and thus shorten response times significantly. It would also allow to distribute larger content over the network and to easily archive zells.

I imagine that an event-sourced approach might work well here. A single clone receives a messages, executes a command and if accepted, publishes an event notification which is sent to all clones. The tricky part is conflict resolution. Different generic strategies could be supported by he library but in the end, it's very much use-case specific. But it needs to be assured that all clones reach a consistent state eventually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant