[SERVER-20853] Eliminate copies of result batch in find and getMore commands path Created: 09/Oct/15  Updated: 25/Nov/15  Resolved: 17/Nov/15

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.2.0-rc4

Type: Improvement Priority: Major - P3
Reporter: David Storch Assignee: David Storch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-20884 ReplyBuilderInterface should have a w... Closed
Related
related to SERVER-20596 Performance regression in new mongos ... Closed
Backwards Compatibility: Fully Compatible
Sprint: QuInt B (11/02/15), QuInt C (11/23/15)
Participants:

 Description   

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



 Comments   
Comment by Githook User [ 17/Nov/15 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-20853 Don't copy objects out of Message to build RemoteCommandResponse

Now transfers the Message into RemoteCommandResponse to keep the object
buffers alive.
Branch: master
https://github.com/mongodb/mongo/commit/3d5f1a756fa1381ac809fb2a0029da3e7911bc77

Comment by Githook User [ 13/Nov/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-20853 eliminate copies in find and getMore path
Branch: master
https://github.com/mongodb/mongo/commit/7a99fd808fc4e8960d2981799415617c495a0fda

Generated at Thu Feb 08 03:55:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.