[SERVER-24542] Implement optimistic reads/writes for non-blocking asio messaging port Created: 13/Jun/16  Updated: 05/Jul/16  Resolved: 24/Jun/16

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.3.9

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

Backwards Compatibility: Fully Compatible
Sprint: Platforms 16 (06/24/16)
Participants:

 Description   

Set the socket to non blocking, then try to do sync reads/writes and check for would_block. If the operation would block, fall back to async with timers.

Hopefully this will improve the performance.



 Comments   
Comment by Githook User [ 24/Jun/16 ]

Author:

{u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}

Message: SERVER-24542 implement optimistic reads/writes for asio message port
Branch: master
https://github.com/mongodb/mongo/commit/1dcfc9050d0bc7138b39402c09d432c1d1867580

Generated at Thu Feb 08 04:06:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.