Skip to content

StoreAPI batching #7929

Open
Open
@GiedriusS

Description

@GiedriusS

Is your proposal related to a problem?

Sending responses one-by-one from StoreAPI is not ideal:

  • Compression suffers because compression is per-message
  • We have to allocate a lot of small objects hence increased GC pressure

Since each response is small, my proposal is to pack multiple responses into one message.

Describe the solution you'd like

Tunable batch size parameter on the StoreAPI level (request - batch size, response is batched accordingly) and inside of the querier.

Describe alternatives you've considered

N/A

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions