You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Bruno Roustant (Jira)" <ji...@apache.org> on 2023/03/17 09:22:00 UTC
[jira] [Created] (SOLR-16706) Reduce the ZLibCompressor compression buffer size
Bruno Roustant created SOLR-16706:
-------------------------------------
Summary: Reduce the ZLibCompressor compression buffer size
Key: SOLR-16706
URL: https://issues.apache.org/jira/browse/SOLR-16706
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Bruno Roustant
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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org