Actions
Architecture #18093
closedArchitecture #18092: Improve compliance performance and reliability
Simplify queries to detects runs in database, as all runs are complete
Status:
Released
Priority:
N/A
Assignee:
Category:
Performance and scalability
Target version:
Fix check:
To do
Regression:
Description
rudder-relayd is the only component writing reports in database
so a full run is written in the database in a transaction, so there are partial run anymore
we should simplify queries that detect runs
This change improve, on the load platform, perfs from Store Agent Run Times batch by going from 195 batchs taking more than 5 seconds in 14 hours to 40 in 6 hours.
Please note that it does not change method updateExecutions in WoReportsExecutionRepositoryImpl which could simply become saveExecutions
Actions