[SERVER-24215] optimize the ASIOMessagingPort::send() that sends a vector of messages Created: 19/May/16 Updated: 20/Aug/19 Resolved: 20/Aug/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Matt Cotter | Assignee: | DO NOT USE - Backlog - Platform Team |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
ASIOMessagingPort::send(const std::vector<std::pair<char*, int>>& data, const char*) should send the data via asio ConstBufferSequence (single asio call) rather than looping and using the one-at-a-time send. |