3 ms·
Definitely suggest reading through their docs, it's fascinating. One of the features I'm most excited about is storage management. From "What is ledger?" [0]:
by TheAceOfHearts 9y ago
Definitely suggest reading through their docs, it's fascinating. One of the features I'm most excited about is storage management.
From "What is ledger?" [0]:
> Each data store is transparently synchronized across devices of its user through a [cloud provider]. Any data operations are made offline-first with no coordination with the cloud. If concurrent modifications result in a data conflict, the conflict is resolved using an app-configurable merge policy.
I'll note that although they use Firebase as the sync provider, it should be fully possible to host your own if you wish to avoid the cloud.
Keeping stuff in sync can be a huge pain sometimes, especially when you're just dealing with scattered files. I like having this functionality as part of the core system, and getting developers to handle our multi-device world.
The Ledger design docs are worth reading, they're short and approachable. Architecture [1] explains how it's implemented, and Conflict Resolution [2] covers how to handle when things go wrong.
[0] https://fuchsia.googlesource.com/ledger/#what-is-ledger https://fuchsia.googlesource.com/ledger/#what-is-ledger
[1] https://fuchsia.googlesource.com/ledger/+/HEAD/docs/architecture.md https://fuchsia.googlesource.com/ledger/+/HEAD/docs/architec...
[2] https://fuchsia.googlesource.com/ledger/+/HEAD/docs/conflict_resolution.md https://fuchsia.googlesource.com/ledger/+/HEAD/docs/conflict...