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

Buffer bloat in TNonblockingServer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • C++ - Library
    • None
    • Patch Available

    Description

      TNonBlockingServer never resets the lengths of the buffers it maintains for reading and writing. Servers with a long life and many concurrent connections eventually generate an overhead that can reach into the gigabytes, particularly in services that have varied message sizes.

      Attachments

        1. buffer_reset_v2.patch
          4 kB
          Erik Frey
        2. buffer_reset.patch
          4 kB
          Erik Frey
        3. graph.png
          14 kB
          Erik Frey

        Activity

          People

            erikfrey Erik Frey
            erikfrey Erik Frey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: