Re: LiteCore and CouchDB replication

2018-09-05 Thread Adam Wilson
Thanks for the information Jens. I understand what you're saying, but for some of us the need to run the beast that is Couchbase Server alongside Sync Gateway is quite a barrier. Running both services requires at least 8GB of memory to run reliably, ideally 16GB. A 16GB server costs over $100

Re: LiteCore and CouchDB replication

2018-09-04 Thread 'Jens Alfke' via Couchbase Mobile
On Sep 2, 2018, at 2:24 AM, Adam Wilson mailto:adam.elemen...@gmail.com>> wrote: My question now is, will Couchbase support replication with CouchDB? No, sorry. We used to use the CouchDB protocol mainly for historical reasons. Interop with CouchDB was nice, but it also caused support

Re: LiteCore and CouchDB replication

2018-09-02 Thread Nick Wood
> > If not, I'd like some guidelines on implementing a CouchDB Replicator. > We're also in a situation where using sync gateway isn't feasible and we would need to switch to something like PouchDB if CouchDB replication ever stopped working with Couchbase Mobile. That being said, we would

Re: LiteCore and CouchDB replication

2018-09-02 Thread Adam Wilson
Yes, looking through the code again, it looks like you might be right. The following line in the documentation led me to believe HTTP was also supported: > The WebSocket protocol starts off as an HTTP(s) connection and switches > over to Websockets if the remote host supports it. My

Re: LiteCore and CouchDB replication

2018-09-01 Thread Brendan Duddridge
It would be great to be able to sync from CouchbaseLite 2.x to CouchDB. But I don't think they support that. It's what's keeping me from upgrading to 2.x. Brendan On Saturday, September 1, 2018 at 6:32:33 PM UTC-6, Adam Wilson wrote: > > > I'm trying to replicate from CouchDB using LiteCore

LiteCore and CouchDB replication

2018-09-01 Thread Adam Wilson
I'm trying to replicate from CouchDB using LiteCore (from C++). I'm linking to the static libraries, and using C4CivetWebSocketFactory. It looks like its trying to connect via WebSocket and receiving an HTTP response. Since CouchDB does not currently support WebSockets, how can I get it to