Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-24542

Implement optimistic reads/writes for non-blocking asio messaging port

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.9
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Platforms 16 (06/24/16)

      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.

            Assignee:
            matt.cotter Matt Cotter
            Reporter:
            matt.cotter Matt Cotter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: