Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-112

Chunking performance issues

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.Beta21
    • None
    • None
    • None

    Description

      Chunking currently has a few performance issues compared to jboss web:

      • The chunk end byte is written out as a separate write() operation, as the buffer sits above the chunking operation
      • flush() will always cause a write(), so flush( ) followed by close() will cause two write ops, even if the issue above is resolved.

      JBoss web worked around this via a second output buffer, below the chunking implementation (the socket buffer). I don't really want to have to double buffer unless it is absolutely necessary however.

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            sdouglas1@redhat.com Stuart Douglas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: