You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Will Holley (JIRA)" <ji...@apache.org> on 2016/03/14 12:28:33 UTC

[jira] [Commented] (COUCHDB-2791) Allow for direct parallel access to shards via _changes

    [ https://issues.apache.org/jira/browse/COUCHDB-2791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15193124#comment-15193124 ] 

Will Holley commented on COUCHDB-2791:
--------------------------------------

not to derail this discussion, but _bulk_get can improve replication performance significantly - at Cloudant we've seen up to 100% improvement when testing Cloudant Sync against it. The reason we don't see it clearly with PouchDB is because it already uses _all_docs to achieve similar performance gains ([as does Couchbase Lite|https://github.com/couchbase/couchbase-lite-ios/wiki/Replication-Algorithm#performance]), at the cost of correctness in the event of rev-1 conflicts.

In any case, I think the _bulk_get feature is orthogonal to this. Direct access to shard _changes has use beyond CouchDB-style replication.

> Allow for direct parallel access to shards via _changes
> -------------------------------------------------------
>
>                 Key: COUCHDB-2791
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2791
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>            Reporter: Tony Sun
>            Assignee: Tony Sun
>
> For performance gains, we introduce a new _changes feed option parallel that returns a list of urls that the user can use to directly access individual shards. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)