Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-39552: Generate less data when summarizing flocks #282

Merged
merged 2 commits into from
Jul 6, 2023
Merged

Conversation

rra
Copy link
Member

@rra rra commented Jul 6, 2023

Previously, to generate a flock summary, mobu first converted all information about the running monkeys to output data structures and then added up success and failure counts from those. Because of the huge amount of timing data that mobu gathers, this took long enough (and is not async, so it blocks everything else) that other in-progress calls timed out. It also meant that the summary end point appeared to hang.

Avoid this by reading the success and failure counts directly from the running monkey business, avoiding the need to dump and thus convert their data. This is a temporary fix until the way that timing data is stored can be overhauled.

rra added 2 commits July 6, 2023 11:20
Previously, to generate a flock summary, mobu first converted all
information about the running monkeys to output data structures and
then added up success and failure counts from those. Because of the
huge amount of timing data that mobu gathers, this took long enough
(and is not async, so it blocks everything else) that other
in-progress calls timed out. It also meant that the summary end
point appeared to hang.

Avoid this by reading the success and failure counts directly from
the running monkey business, avoiding the need to dump and thus
convert their data. This is a temporary fix until the way that
timing data is stored can be overhauled.
Requires one fix to avoid a new Ruff warning.
@rra rra merged commit d803e83 into main Jul 6, 2023
3 of 4 checks passed
@rra rra deleted the tickets/DM-39552 branch July 6, 2023 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant