[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: |