Peer-to-Peer Synchronization

Couchbase Lite’s Peer-to-Peer Synchronization solution offers secure storage and bidirectional synchronization of data between edge devices without the need for a centralized cloud-based control point.

Two Couchbase Lite instances can directly synchronize with each other, rather than with a Sync Gateway instance, by using a listener to interact with a Couchbase Lite replicator.

docs listener diagram

Couchbase Lite provides two options for implementing the required listener in IP-based networks; an out-of-the-box listener implementation or a framework to custom build your own listener.

Out-of-the-box Listener
  • Simplify development — sync with just a few lines of code

  • Optimize bandwidth — built-in Delta-Sync support

  • Sync securely — built-in TLS encryption and authentication support

  • Efficiently manage conflicts — built-in conflict resolution support.

  • Peer-to-Peer

Custom Build Listener