CRDTs are useful for synchronizing data which eventually converges to a consistent state. CRDTs can be
useful when nodes/replicas may not be able to directly communicate with each other. CRDTs can be used
instead of an always active foreground synchronization protocol.
Usage
Swift Package Manager
Add this package to your Package.swiftdependencies and target’s dependencies:
CRDT
A Swift package to help build Convergent and Commutative Replicated Data Types.
CRDTs are useful for synchronizing data which eventually converges to a consistent state. CRDTs can be useful when nodes/replicas may not be able to directly communicate with each other. CRDTs can be used instead of an always active foreground synchronization protocol.
Usage
Swift Package Manager
Add this package to your
Package.swift
dependencies
and target’sdependencies
:Code
See the tests for more examples.
Related Links
CRDT Papers
Other Projects
See other projects which have implementations for CRDTs:
License
Apache-2.0 License