Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1055

csharp TServerSocket and TSocket do not disable Nagle via Socket.NoDelay = true like cpp and java do

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.7
    • C# - Library
    • None
    • Kubuntu Maverick (10.10)

    • Patch Available

    Description

      https://issues.apache.org/jira/browse/THRIFT-904 resulted in TFramedTransport being improved so it wasn't necessary to disable Nagle.

      For the case of TServerSocket and TSocket, a simple server case, performance is still very poor, ~30 msg/sec vs. ~11k msg/sec with NoDelay = true.

      Java and cpp disable nagle in their TSocket and TServerSocket implementations and performance is MUCH improved with nagle disabled for csharp so I'm proposing that csharp should also disable nagle.

      Attachments

        1. nodelay_enable.patch
          0.7 kB
          Chris Morgan

        Activity

          People

            chmorgan Chris Morgan
            chmorgan Chris Morgan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: