garrensmith commented on issue #1423: Mango to nodes
URL: https://github.com/apache/couchdb/pull/1423#issuecomment-411073720
 
 
   I think this branch is ready to go now.
   Here is some final performance testing. I have ran a perf test that would 
exaggerate this so we can measure. It is a database with 1 million docs that 
does a query that uses `_all_docs` but doesn't actually return a doc. So each 
query requires scanning through all the documents in the database. In the first 
screenshot is the test run on current master CouchDB. Each doc queried is 
streamed to the coordinator node for the final mango selector test.
   
   
![current-couchdb](https://user-images.githubusercontent.com/179458/43781559-786b1868-9a5d-11e8-997a-801b10ed5686.png)
   
   This is with this PR, each doc is checked at the node and only the documents 
that would match the selector would get streamed to the coordinator. In this 
test no docs would match the selector. As you can see the network activity is 
greatly reduced.
   
![mango-pr](https://user-images.githubusercontent.com/179458/43781588-88f0785e-9a5d-11e8-9cd4-1ba0f34b3972.png)
   
   

----------------------------------------------------------------
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