There are several copies in RPC components as well as the find and getMore commands themselves which slow down execution in the case of large result sets. (Discovered via a workload that repeatedly finds a 15 MB document by _id.)
- depends on
-
SERVER-20884 ReplyBuilderInterface should have a way to expose the builder's buffer to Command::run()
- Closed
- related to
-
SERVER-20596 Performance regression in new mongos query path (about 17% worse than 3.0)
- Closed