You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/03/16 15:43:14 UTC

[GitHub] wohali commented on issue #230: seq_interval parameter for /db/_changes endpoint is not documented

wohali commented on issue #230: seq_interval parameter for /db/_changes endpoint is not documented
URL: https://github.com/apache/couchdb-documentation/issues/230#issuecomment-373754139
 
 
   Draft text to include:
   
   > When fetching changes in a batch, setting the seq_interval parameter tells CouchDB to only calculate the seq_interval with every Nth result returned. By setting `seq_interval=<batch size>`, where `<batch size>` is the number of results requested per batch, load can be reduced on the source CouchDB database; computing the seq value across many shards (esp. in highly-sharded databases) is expensive in a heavily loaded CouchDB cluster.
   
   > Cloudant Sync and PouchDB already optimize this parameter by setting `seq_interval=<batch size>`.
     and increase throughput by reducing latency between sequential requests in bulk document transfers. This has resulted in up to a 20% replication performance improvement in the scenario previously described.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services