[ 
https://issues.apache.org/jira/browse/SOLR-16706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17706884#comment-17706884
 ] 

ASF subversion and git services commented on SOLR-16706:
--------------------------------------------------------

Commit f52d40308b029b5bd01479f8ef5863268f0c115f in solr's branch 
refs/heads/branch_9x from Bruno Roustant
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=f52d40308b0 ]

SOLR-16706: Reduce the ZLibCompressor compression buffer size. (#1469)



> Reduce the ZLibCompressor compression buffer size
> -------------------------------------------------
>
>                 Key: SOLR-16706
>                 URL: https://issues.apache.org/jira/browse/SOLR-16706
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Bruno Roustant
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Currently ZLibCompressor.compress() works with a compression buffer 
> initialized with a capacity equal to the source data (to compress) length.
> Since we expect a good compression ratio, specially for state.json, we 
> propose a small adjustment to have the initial capacity of the buffer 
> configurable. That way, when the caller knows it is compressing a state.json 
> data, it can set the initial buffer capacity to sourceData.length / 10.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to