This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Improve performance of fetching bundled aggregations #11825
Labels
A-Threads
Threaded messages
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
As detailed in the jaeger traces from #11611 the bundled aggregations code calculates the bundled aggregations for each event to be returned. To calculate the bundled aggregations for a single event is currently requires 6 queries (across 5 transactions).
For some APIs this is (e.g.
/events
only returns a single event), but/sync
or/messages
may return many events causing an explosion of queries.Some of the fetched data is fairly simple and we should be able to fetch the data for multiple events at once, which should save queries. #11660 has some basic timing info that this might be an improvement, I imagine reducing the round-trips from a remote database would cause the gap to be further improved.
The text was updated successfully, but these errors were encountered: