redgeoff edited a comment on issue #831: Filter _changes by key to speed up 
replication
URL: https://github.com/apache/couchdb/issues/831#issuecomment-405062691
 
 
   Hehe... well, that may be a nice enhancement, but what I really think is:
   1. #592 needs to be fixed so that indexed views can be used for filtered 
replication
   2. I think some sort of new indexing construct is needed so that you can 
create an index based on key so that you can specify a key when using a view 
during filtered replication. I'm not entirely sure of the inner workings of 
CouchDB so I can't be much more specific here. Sorry.
   
   Currently the only way to avoid the latency with this slow filtered 
replication is to manually shard the database, e.g. in my example above, create 
a database per class type, but this can get very unmanageable when the scenario 
gets more complicated. (Creating a new database allows you to partition the 
data and makes the replication faster).

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to