-
Notifications
You must be signed in to change notification settings - Fork 5
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
Comments
Hi @gedw99, 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: 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, |
Thanks Tim for the great reply.
Your right in your presumptions.
But I think crdt is right for me because:
The system is for doctors in the 3rd world where connectivity is terrible.
So much work offline.
There is no central db because of laws and practicalities of teams
collaborating quickly with each other. So using webrtc data channels for
direct connections with a STUN server to help them find each other when
blocked via NAT on the mobile networks.
So the core is a db that is replication between peers.
DHT is used to allow users to find each others IP addresses. Basically a
big telephone book with their up to date IP.
Security is done by key exchange. I have to centralise , along with the
STUN server. Am using consul connect for now as it has a good security key
exchange approach.
If you have any thoughts you welcome to jump in.
I am based in Berlin, Germany and working on a German government grant on
this.
…On Sun, 16 Sep 2018, 22:29 Tim Jungnickel, ***@***.***> wrote:
Hi @gedw99 <https://github.com/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 :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ATuCwpHT3e86GAKxVYwSZn2wTdAomw63ks5ubrTHgaJpZM4WqS0V>
.
|
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 !
The text was updated successfully, but these errors were encountered: