Re: FYI: Enabling WebSockets when putting Sync Gateway behind nginx

2014-10-22 Thread Jeremy Kelley
Here's the location stanzas I'm using with nginx in front of sync gateway. Hope it's helpful to someone. https://gist.github.com/nod/0e12567203e94e3646c1 -j On Saturday, October 4, 2014 7:35:04 PM UTC-5, Jens Alfke wrote: > > If you put your Sync Gateway(s) behind an nginx proxy, you'll need

Re: Looking for cross-platform syncing solution. Windows?

2014-10-22 Thread Zack Gramana
Well, being the .NET guy on the team, I'll mention that you have the benefit of using Couchbase Lite for .NET on iOS, Android, Windows, OS X, and Linux. If that's what you're looking for, then you immediately reuse your C# or F# code across all of the above platforms. On Oct 22, 2014, at 3:06

Re: multiple calls to _replicate

2014-10-22 Thread Jens Alfke
> On Oct 22, 2014, at 7:29 PM, Seung Chan Lim wrote: > > I'm curious what the underlying behavior of the phonegap couchdblite plug in > is when you make multiple _request http requests. You mean _replicate? CBL won't run more than one "equivalent" replication at a time. Where "equivalent" m

Re: Looking for cross-platform syncing solution. Windows?

2014-10-22 Thread Jens Alfke
> On Oct 22, 2014, at 3:03 PM, adam wilson wrote: > > I am building the app using JUCE C++ framework, and so most of the code will > be shared across platforms apart from platform-specific stuff. I am not sure > if the C# or Java versions would be better to include in a Windows project? I'm

multiple calls to _replicate

2014-10-22 Thread Seung Chan Lim
I'm curious what the underlying behavior of the phonegap couchdblite plug in is when you make multiple _request http requests. My use case is that the session cookie has expired, and I want to make a new _request HTTP request with new cookie headers. What I'm worried is that it is somehow incr

Re: FYI: Enabling WebSockets when putting Sync Gateway behind nginx

2014-10-22 Thread Jeremy Kelley
I actually just got it working. I'll paste a gist soon to help others. Sent from my iPad > On Oct 22, 2014, at 7:22 PM, Traun Leyden wrote: > > A related ticket in case you haven't seen it: > > https://github.com/couchbase/sync_gateway/issues/439#issuecomment-57867740 > > Afaik Andy Reslan s

Re: FYI: Enabling WebSockets when putting Sync Gateway behind nginx

2014-10-22 Thread Traun Leyden
A related ticket in case you haven't seen it: https://github.com/couchbase/sync_gateway/issues/439#issuecomment-57867740 Afaik Andy Reslan should be adding this soon. > On Oct 22, 2014, at 4:57 PM, Jeremy Kelley wrote: > > I've been wrestling with putting the sync gateway behind nginx today a

Re: FYI: Enabling WebSockets when putting Sync Gateway behind nginx

2014-10-22 Thread Jeremy Kelley
I've been wrestling with putting the sync gateway behind nginx today and am having no luck. Did anyone actually ever get this working? Any pointers you can share? Thanks, Jeremy On Saturday, October 4, 2014 7:35:04 PM UTC-5, Jens Alfke wrote: > > If you put your Sync Gateway(s) behind an ngin

Looking for cross-platform syncing solution. Windows?

2014-10-22 Thread adam wilson
I'm looking for a cross-platform data syncing solution and Couchbase Lite looks like a winner atm, with Sync Gateway handling restriction of data between users. I am currently developing an iOS and Android app, but also looking to build a desktop app that will share / use the same data. OSX i

CBL .NET: Nested objects returning JObject from Properties?

2014-10-22 Thread ryan . thompson
Hi - a quick question about Couchbase Lite .NET. I did quite a bit of searching and couldn't find any information about this, so here goes: I have the following document in my database with id "myDoc": { "nestedObject": { "name": "Nesty", "someProperty": true }, "so

Re: Slow Update/Delete with large databases (1/4 second per delete)

2014-10-22 Thread James Norman
Android version 4.4.2 and SQLite 3.7.6.3, I ran the following sql on the device: SELECT sqlite_version() AS 'SQLite Version'; Thanks for any help on this. I'll test with 1.03 this afternoon as well. -james -- You received this message because you are subscribed to the Google Groups "Couchbas

Re: How to get access to raw JSON document body?

2014-10-22 Thread Jens Alfke
> On Oct 22, 2014, at 4:43 AM, Tim Clarke wrote: > > However, our Couchbase docs are all JSON and when we retrieve them from > Couchbase Lite they are returned as a dictionary of properties with the JSON > having been split into individual properties. This is clever, but not quite > what we w

Re: Slow Update/Delete with large databases (1/4 second per delete)

2014-10-22 Thread Jens Alfke
> On Oct 21, 2014, at 10:32 PM, James Norman wrote: > > I'm experiencing slow updates with large databases at 30-70K documents. It > takes over 50 seconds to delete 200 documents on a database with 50K > documents. I don't normally weigh in on Android issues because I work on iOS, but this

Re: continous feed clean up (phonegap specific?)

2014-10-22 Thread Jens Alfke
> On Oct 21, 2014, at 5:54 PM, Seung Chan Lim wrote: > > What I've noticed is that the new changes get appended to the http body. Now > I could imagine this could grow quite large at times. Interesting — that must just be a side effect of the way the XMLHTTPRequest object works. > Is there a

How to get access to raw JSON document body?

2014-10-22 Thread Tim Clarke
Hi We've got a setup working nicely with Couchbase documents going through Couchbase sync gateway into Couchbase Lite on iOS. (v 1.0.2) However, our Couchbase docs are all JSON and when we retrieve them from Couchbase Lite they are returned as a dictionary of properties with the JSON having b

Re: ANN: Couchbase Lite 1.0.3 released

2014-10-22 Thread Adam Dziendziel
> > > > Build the "CBL Listener iOS" target/scheme. (Select it from the scheme > pop-up in the toolbar, then build.) > > BTW If there is a bug is related to PhoneGap integration, but requires > changes in native code, like > https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin/issues