Skip to content

Improve performance of transfering results from historical node to broker #4740

@zhangxinyu1

Description

@zhangxinyu1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions