> On Oct 13, 2015, at 10:35 PM, [email protected] wrote: > > Since I am not using Couchbase on the backend I just saw that that Lite > supports the couchdb replication protocol.
Yes; we use the CouchDB protocol with a couple of minor additions for performance. If CBL detects that it’s talking to CouchDB it’ll avoid using the additions, for compatibility. > Now I am trying to guess how much work it would be to write an CouchDb > Replication Protocol Adapter for my custom java backend? A lot; on the order of a man-year, I’d guess. What you’re talking about is roughly equivalent to a big chunk of Sync Gateway (which is at heart a CouchDB replication protocol adapter for Couchbase Server.) As part of that, you’ll have to figure out how to map your back-end’s data model to the multi-version (MVCC) Couchbase Lite document model, which is not trivial. (Again, speaking from experience.) It would be much easier to have the client replicate with Sync Gateway, and then build glue for your back-end to talk to either the Gateway or Couchbase Server directly. —Jens -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/25D00F90-D578-4DE3-B48C-36A4E3FB04CA%40mooseyard.com. For more options, visit https://groups.google.com/d/optout.
