Replicant is a new approach to mobile sync which finally makes it easy — pleasant, even — to offline-enable your mobile application.
Who cares about offline? You should. Because it makes your app instantaneously responsive and reliable under all network conditions, including no network. It banishes spinners and hangs from your user experience. Every interaction with your app feels local and fluid, with changes synchronized in the background when there is connectivity.
Replicant is led by Aaron Boodman, an engineer with over fifteen years of experience working on sync at Google and as a founder of venture-backed startups.
The design is made possible by recent academic research and is scheduled for review by Jepsen, LLC in 2019.
Replicant builds on recent academic research to transform a disconnected set of single-node transactional databases into an AP Causal-Consistent distributed database. This has been proven to be the highest consistency level possible in a disconnected system. But until now, there have been no commercial systems that implement it for offline synchronization.
Replicant is technically a CRDT, but it differs from currently popular CRDTs in that it: (a) permits arbitrary operations over a rich data model, and (b) guarantees transactional consistency.
What this means is that developers don’t need to adapt their problem to fit a constrained data model. They can use natural data structures and simple sequential algorithms, without giving up the key promise of CRDTs: guaranteed convergence.
There is a full design document available to early adopters.