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

Reuse buffers in TNonblockingServer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Java - Library
    • None

    Description

      Right now, we reallocate buffers all the time (twice per request!). We should be able to reuse these buffers quite easily. The only downside to reusing buffers is that each connection will hold as much memory as the biggest request they ever saw, which can be wasteful.

      Attachments

        Issue Links

          Activity

            People

              bryanduxbury Bryan Duxbury
              bryanduxbury Bryan Duxbury
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: