Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9147

avoid expensive byte[] resize in EmbeddedSolrServer

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1, 7.0
    • Component/s: Server
    • Labels:
      None

      Description

      This issue makes modest step toward EmbeddedSolrServer efficiency.
      It replaces java.io.ByteArrayOutputStream which has quite expensive resizes with incrementally growing BAOS from commons-io 2.5.

      Note

      There is no expectation for performance gain in case of StreamingResponseCallback.

        Attachments

        1. SOLR-9147.patch
          6 kB
          Mikhail Khludnev
        2. SOLR-9147.patch
          6 kB
          Mikhail Khludnev

          Issue Links

            Activity

              People

              • Assignee:
                mkhludnev Mikhail Khludnev
                Reporter:
                mkhludnev Mikhail Khludnev
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: