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

Offline edits #15

Open
ghost opened this issue Sep 15, 2018 · 2 comments
Open

Offline edits #15

ghost opened this issue Sep 15, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 15, 2018

I presume this allows offline edits ?

It's great to see more crdt examples.

I am wishing to build an actual email editor for mobile that uses crdt. Hence why I ask about offline support.
Thanks again for putting up !

@TimJuni
Copy link
Member

TimJuni commented Sep 16, 2018

Hi @gedw99,
pluto was designed to be a server application that features multi-leader replication between several pluto instances. The intended purpose of pluto was to be a highly available IMAP server.

I guess you question refers more towards using a crdt to sync the state between a mobile imap client (with offline capabilities) and an IMAP server, like pluto. We currently have not touched this part of the synchronization, i.e. the one between client and server.

However, I'am confident that the underlying IMAP-CRDT is capable of what you want to achieve. If you are interested, you should have a look at our scientific paper where we describe the mechanics of the CRDT in detail:
http://drops.dagstuhl.de/opus/volltexte/2018/8645/pdf/LIPIcs-OPODIS-2017-23.pdf

If you allow me one last comment, the IMAP-CRDT is designed to allow any number of participants, i.e. servers. The offline problem that you are working on is essentially a communication between two peers; the client and the server, right? In that case using a crdt might be a little bit of overkill and you probably want to look for further solutions (e.g. couchdb, sharedb, automerge?).

Have a great day,
Tim & the pluto people :)

@ghost
Copy link
Author

ghost commented Sep 17, 2018 via email

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

No branches or pull requests

1 participant