I thought that Sync Gateway is "just" an adapter for adapting couchdb 
protocol to couchbase server.
concluding from your response sync gateway is much more? How can I plug 
into the synch gateway? does it often any abstraction for this?






Am Mittwoch, 14. Oktober 2015 07:46:29 UTC+2 schrieb Jens Alfke:
>
>
> On Oct 13, 2015, at 10:35 PM, [email protected] <javascript:> 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/3bdb9104-ee1c-43fd-a9ae-a68beca99315%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to