[SERVER-21459] ReplyBuilderInterface::getinPlaceReplyBuilder should take an argument to specify an amount of space to reserve Created: 13/Nov/15  Updated: 25/Nov/15  Resolved: 17/Nov/15

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

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

Backwards Compatibility: Fully Compatible
Sprint: Platform C (11/20/15)
Participants:

 Description   

Currently the performance benefits from building the command reply in place are lessened due to the amount of re-allocing we must do. To prevent this we should allow commands to hint to the rpc system how much space they will need in their replies.



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

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-21459 reserve bytes in ReplyBuilder buffer to avoid excessive reallocing
Branch: master
https://github.com/mongodb/mongo/commit/8344af630c5113ab2f9cf2950c384ad926966ff9

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