Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Multi-node sync [Experimental] #31

Open
6 tasks
rmehta opened this issue Feb 13, 2018 · 0 comments
Open
6 tasks

Multi-node sync [Experimental] #31

rmehta opened this issue Feb 13, 2018 · 0 comments

Comments

@rmehta
Copy link
Member

rmehta commented Feb 13, 2018

To make this app multi-user we will follow a multi-node strategy. Each node will be a fully self-sufficient (offline-first) unit. Data will be migrated to and from "super node" real time. This will work similar to the data migration tool in frappe-py

  • Allow any doctype to be synced
  • Designate a node as a super node
  • Establish connection to the super node (via WebRTC / WebSockets)
  • Inbound sync with each table with the super node (super node to maintain a write log - similar to a binlog)
  • Sync local documents with supernode
  • Add global id in documents so that we know if they have been synced or not
@rmehta rmehta changed the title Multi-node sync Multi-node sync [Experimental] Feb 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant