Uploaded image for project: 'fix8'
  1. fix8
  2. FX-140

FIXReader calls sockRead too many times

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Ubuntu 13.10 x64 gcc4.8

      Description

      FIXReader calls sockRead too many times. I think the optimal way here is to have a userspace buffer or stream that is filled in once by a single call to sockRead. Then until the buffer/stream is not empty read op just read from it, not socket. When the socket/buffer is empty, real socket read is called.

        Attachments

          Activity

            People

            • Assignee:
              syegres Sergey Sedreev
              Reporter:
              syegres Sergey Sedreev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Who's Looking?