Thanks Jens.
I've been able to merge all existing views down to three. 1.4.1 seems to
have helped significantly.
On Friday, December 1, 2017 at 4:15:04 PM UTC-5, Jens Alfke wrote:
>
>
>
> > On Nov 29, 2017, at 9:06 AM, Scott Ahten <lightand...@gmail.com
> > wrote
I'm starting to run into performance issues on a iOS 1.4 CBL app with a
very large number of documents (+30k). It seems that indexing is blocking
queries and, in turn, blocking specific tasks. My strategy is as follows...
First, drastically reduce the number of views to reduce the amount of
On Wednesday, August 31, 2016 at 4:00:27 PM UTC-4, Brendan Duddridge wrote:
>
>
> However, this technique doesn't really work with Couchbase Lite because I
> cannot access the model objects on the main thread those objects that I
> fetched on the background thread using the NSOperationQueue.
>
On Friday, August 26, 2016 at 8:25:22 PM UTC-4, Jens Alfke wrote:
>
> We’re weighing the pros and cons of dropping iOS 7 support in Couchbase
> Lite.
>
> The big advantage is that we can package the framework as a proper dynamic
> library, instead of as a static library. This will eliminate a
Thanks, Jens.
I got that impression, but wanted to make sure.
On Tuesday, April 12, 2016 at 12:39:27 PM UTC-4, Jens Alfke wrote:
>
>
> Yeah, this is a problem with the API, and I’ve been unsure how to fix it.
> It’s hard to convey error status when there are lots of requests running in
>
ion server"},
On Monday, April 11, 2016 at 6:46:21 PM UTC-4, Scott Ahten wrote:
>
> I'm running into an issue with handling errors with replication with the
> latest sync gateway and 1.1 or greater CBL.
>
--
You received this message because you are subscribed to the Googl
I'm running into an issue with handling errors with replication with the
latest sync gateway and 1.1 or greater CBL.
During first login and sync, I'm using replicator change notifications to
monitor the Replicator's lastError property, among others, to determine if
an initial sync is
I've occasionally run into a situation where a client app running CBL stops
syncing with the client. What is unusual is that sync does not restart even
when the app is killed and restarted or even when the device is restarted.
It simply stops syncing in both directions. This leads me to suspect
While migrating an existing CBL iOS client to CBL 1.1.1, I've run into an
issue where I need to inject a dependency for the logic that creates a
custom document ID with multiple components, such as "type:GUID:subtype"
In 1.1.1, we have - [CBLModel modelForDocument:], [CBLModel
Thanks for your quick reply. I was about to head down this road and your
response told me I was headed in the right direction.
Ended up making a class method to encapsulate creating the composite
document ID. My creation class method looks similar to
+
I'm trying to replace hi-res photo attachments with low-res previews to
reduce storage on-device after the hi-res photo has been synced to the
gateway sever.
As I understand it, the only way to remove the orphaned attachment is to
call [CBLDatabase compact]. Correct?
--
You received this
Let's say I have device with a number of local changes to a CBL database.
After some time passes, I want remove the database with these changes from
the device. However, I only want to remove the database if the device had
actually connected to the network and successfully synced all of those
Just what I was looking for. Thanks!
On Wednesday, September 9, 2015 at 11:31:55 AM UTC-4, Jens Alfke wrote:
>
>
> > On Sep 9, 2015, at 8:04 AM, Scott Ahten <lightand...@gmail.com
> > wrote:
> >
> > What is the simplest way to determine if those cha
On Wednesday, October 29, 2014 1:40:04 PM UTC-4, Jens Alfke wrote:
Aw crap, you're right — it's a mistake in my sample code. The line
CBLUnsavedRevision *newRev = [*current* createRevision];
should be
CBLUnsavedRevision *newRev = [*rev* createRevision];
I'm primarily focused on the mobile side of things but, IIRC, we ran into a
similar problem on my current project, which was resolved via making a
change to the config of nginx. I'll see what I can track down.
On Thursday, October 30, 2014 4:54:10 AM UTC-4, Marcus Roberts wrote:
I think
On Wednesday, October 29, 2014 1:40:04 PM UTC-4, Jens Alfke wrote:
Aw crap, you're right — it's a mistake in my sample code. The line
CBLUnsavedRevision *newRev = [*current* createRevision];
should be
CBLUnsavedRevision *newRev = [*rev* createRevision];
Further investigation indicates all of the revisions being created are
duplicates.
For example
16:55:47.152| CBLDatabase: Duplicate rev insertion:
f8ee7974-9558-4ba4-ba94-6a7ce98c58b4 / 111-de503a5a2c1cacbe39e645466980888e
However, this revision does not have a parent. I'm guessing this
On Wednesday, October 29, 2014 5:12:01 PM UTC-4, Scott Ahten wrote:
However, this revision does not have a parent. I'm guessing this is why
[It's being flagged as a conflict]
After stepping though the code, I've noticed the duplicate inserts have the
correct parent sequence number
We have an instance of SyncGateway running behind nginx. One additional
issue we ran into is a 1mb incoming limit set by default on nginx. This
caused our app to get updates from other mobile clients and our web app,
but prevented pushing updates of larger docs to the gateway.
--
You
I'm having difficulty resolving conflicts on a document with a large number
of existing conflicts (100+) on iOS.
Currently, my conflict resolution method is based on the Objective-C
example
We're currently developing features using geo queries and plan on adding
full text search in a future version.
--
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
.
On Monday, April 7, 2014 12:02:59 PM UTC-4, Jens Alfke wrote:
On Apr 4, 2014, at 11:26 AM, Scott Ahten lightand...@gmail.comjavascript:
wrote:
Is there a safe way to push this work off to a background thread?
Yes, CBLManager has a -backgroundTellDatabaseNamed:to: method that will
run a block
On Monday, March 17, 2014 8:40:18 PM UTC-4, Jens Alfke wrote:
Hm, good point. You can look at the implementation in CBLModel to see what
it’s doing; IIRC, the Class returned from itemClassForArrayProperty: is
only used if the CBLModelFactory doesn’t know what class to use for that
I've run into a scenario where two CBLModel subclasses implement the same
interface and I want to store a reference to either of these subclasses as
a property on a third CBLModel subclass.
The compeller doesn't complain, but I was unsure if CBLModel handle this
scenario correctly. Note: both
On Sunday, March 9, 2014 5:34:46 PM UTC-4, Jens Alfke wrote:
This will work fine. Internally, CBLModel calls the model-factory to
resolve the docID into a model instance.
—Jens
Thanks for the quick turnaround, Jens!
--
You received this message because you are subscribed to the
25 matches
Mail list logo