Repository navigation
[ENG-12560] Fully implement the stress testing tool - #12027
Open
Ostap-Zherebetskyi wants to merge 8 commits into
Open
Ostap-Zherebetskyi wants to merge 8 commits into
Ostap-Zherebetskyi wants to merge 8 commits into
Conversation
Ostap-Zherebetskyi
marked this pull request as ready for review
November 17, 2026 12:30
antkryt
suggested changes
Nov 17, 2026
Contributor
There was a problem hiding this comment.
Design issues:
The form allows 1000 tasks/s for 3600s
- Every step locks the same suite row. Each publish, task start (
simulated_workload) and task finish (finish_task) runs SELECT … FOR UPDATE on that one row, so instead of stress testing celery we're stress testing our db. I think we can leave db locks to write stats/finish/cancel/start suite etc., but stress tasks part shouldn't make any database calls unless they're specifically designed to do so - That's also up to about 3.6M task rows per run (max), and nothing ever cleans them up
Also, I left a few comments in the PR
antkryt
approved these changes
Nov 20, 2026
antkryt
left a comment
Contributor
There was a problem hiding this comment.
LGTM
One thing to discuss: long-living coordinator (start_celery_stress_test)
cslzchen
requested changes
Nov 20, 2026
cslzchen
left a comment
Collaborator
There was a problem hiding this comment.
Looks great overall with all the options to stress test. Let's add docstring and comments and if necessary update the naming conventions.
| beat_schedule = { | ||
| 'cleanup-celery-test-history': { | ||
| 'task': 'stress_testing.cleanup_history', | ||
| 'schedule': crontab(minute=30, hour=3), |
Collaborator
There was a problem hiding this comment.
- Find the best time (UTC) and add comment with EDT
Ostap-Zherebetskyi
force-pushed
the
feature/celery-improvements/stress_testing
branch
from
November 23, 2026 10:20
fa5f104 to
53acb78
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket
Purpose
Fully implement the stress testing tool
Changes
Side Effects
QE Notes
CE Notes
Documentation