When we use groupby query, we find historical node only uses one cpu (almost 100% used) for a long time. This is because one thread of historical is sorting and compressing data.
So I'm thinking of that why not use two threads to do sorting and compressing respectively.
Besides, the default compressionCode is gzip, but gzip is slower than lz4 or some other compressionCodec, why not use a faster compressionCodec instead of gzip.
When we use groupby query, we find historical node only uses one cpu (almost 100% used) for a long time. This is because one thread of historical is sorting and compressing data.
So I'm thinking of that why not use two threads to do sorting and compressing respectively.
Besides, the default compressionCode is gzip, but gzip is slower than lz4 or some other compressionCodec, why not use a faster compressionCodec instead of gzip.