How to speed up document pushing to user's machine from sync gateway?


#1

We have very good network bandwidth for most of the users. But the data from the server is being synced down very slowly. Is there a way to improve the performance of document-pushing from the sync gateway down to the user’s machine? Any settings at the sync gateway or Couchbase Server level? Please guide


#2

@vjeeshc,

A common reason why sync gateway can be slow is it not having enough channel cache.

https://docs.couchbase.com/sync-gateway/2.1/config-properties.html#databases-foo_db-cache-channel_cache_max_length

Whats is your biggest channel? How many documents does it have? Is it bigger than 500 docs + any deletes(tombstones)?