Does Couchbase Lite 2.0 support p2p replication?

We are considering to migrate from Couchbase Lite 1.4 to 2.0 on iOS.
However p2p replication is critical feature in our system.

Does Couchbase Lite 2.0 for iOS support peer to peer replication?

If not, is there any timeframe for implementing this feature?

2.0 does not support P2P replication, but that is one of the features that is under development for 2.1. It’s basically done, and we are just working on stabilizing it.

There are a few catches though. The first obvious catch is that it will be an EE only feature.

The second catch is it’s not the same P2P as you are used to in 1.4. Instead, since many users desire many different ways to transport data, we’ve made it transport agnostic which means you set up the discovery, connection, etc, and then plug it into Couchbase (in other words, Couchbase will manage the actual content and your application will manage opening/closing connections, and sending/receiving the produced content).

So you could send your data over bluetooth, NFC, even infrared remote control if you have a system capable of sending data that way.

1 Like