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

avoid expensive byte[] resize in EmbeddedSolrServer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.1, 7.0
    • Server
    • 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

              mkhl Mikhail Khludnev
              mkhl Mikhail Khludnev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: