Skip to content

Batcher should sort data in addition to batching #4431

@teh-cmc

Description

@teh-cmc

The batcher has an opportunity to sort potentially-slightly-unordered-data (e.g. a user logging to the same entity path from multiple threads) at basically no extra cost, saving a lot of compute on the backend (OOO ingestion is painful for the store, the main cache, the secondary caches...).

We need to extract the swap-sorting logic from the store and expose it on DataTable so everything can benefit from it with no effort.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions