[Reporting] Selectively partition async calls in generating CSV #120426
Labels
bug
Fixes for quality problems that affect the customer experience
(Deprecated) Feature:Reporting
Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead
Feature:Reporting:CSV
Reporting issues pertaining to CSV file export
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:medium
Medium Level of Effort
needs-team
Issues missing a team label
#120309 changed CSV to asynchronously generate each row of content, rather than synchronously. This solved problems with CSV generation adding a single huge task to the Event Queue.
Problem: now that generating each row of CSV content is asynchronous, there is a log of context switching as there are as many async partitions as there are rows in the output CSV.
Solution: we can remediate the high amount of context switching by adding in async calls every N iterations of looping over each row.
We need to set up some performance tests to find what an ideal N value is.
The text was updated successfully, but these errors were encountered: