Sync speed drops exponentially


#1

Hi,

a local sync (OSX) is fast.

Once installed on a remote server (same power class) the sync starts fast but then the speed drops until it (nearly) stops. Interestingly the server is not working much.

Server: Debian (wheezy) with couchbase 3.0.1 & own build sync server.
Client: IOS 8.3

Any hints?

Greetings,

Ralf


#2

We’d need some more details on the nature of the testing you’re doing to understand what might be going on - including what type of replication you’re doing, what your data looks like, and how you’re measuring sync speed.

Also - does ‘own build sync server’ mean you’re building Sync Gateway from the latest on the master branch?

Thanks,
Adam


#3

What version of couchbase lite do you use? I had recently a similar problem and finally I’ve found that current stable release was slow because of the SQLite version (iOS >= 8.2 uses 3.8.5 version of SQLite, read more about issue: https://github.com/couchbase/couchbase-lite-ios/issues/487). Updating couchbase to version from repository fixed the problem.


#4

Hi,

I cloned the sync server from
git clone https://github.com/couchbase/sync_gateway.git

It says: ==== Couchbase Sync Gateway/master(10b35bb+CHANGES) ====

Greetings,
Ralf


#5

Hi,

I use couchbase in version 3.0.1 from the download page.

Where do I find the latest repository?

Greetings,

Ralf