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

Distributed State Framework #29

Open
4 tasks
Joannis opened this issue Jun 4, 2021 · 0 comments
Open
4 tasks

Distributed State Framework #29

Joannis opened this issue Jun 4, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation example helper tests

Comments

@Joannis
Copy link
Member

Joannis commented Jun 4, 2021

  • Preferences & Settings
  • Contact metadata
  • Chat metadata
  • Changes are timestamped

Data is synchronised with the master device, which relays the latest state onto other devices.

Test 1

  1. Master is offline
  2. Non-Master Client Changes State
  3. Other Non-Master Changes State
  4. Devices are out-of-sync
  5. Master comes online
  6. Devices are all in sync

Test 2

  1. Master is online
  2. Non-Master Client Changes State
  3. Other Non-Master Changes State
  4. Devices are all using the most recent state

Test 3

  1. All devices are offline
  2. Non-Master Client (A) Changes State
  3. Other Non-Master (B) Changes State
  4. B comes online and synchronises state with Master
  5. A comes online and synchronises state with Master
  6. B's state remains in place, as it's most recent
@Joannis Joannis changed the title Synchronise data between own devices Helper: Synchronise data between own devices Jun 4, 2021
@Joannis Joannis added documentation Improvements or additions to documentation helper example tests labels Jun 4, 2021
@Joannis Joannis mentioned this issue Jun 4, 2021
10 tasks
@Joannis Joannis changed the title Helper: Synchronise data between own devices Synchronisation Framework Jun 4, 2021
@Joannis Joannis changed the title Synchronisation Framework Synchronisation Framework Helper Jun 4, 2021
@Joannis Joannis changed the title Synchronisation Framework Helper Distributed State Framework Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation example helper tests
Projects
None yet
Development

No branches or pull requests

1 participant