Skip to content

perf(aci): Batch redis operations #93658

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

Merged
merged 2 commits into from
Jun 17, 2025
Merged

perf(aci): Batch redis operations #93658

merged 2 commits into from
Jun 17, 2025

Conversation

kcons
Copy link
Member

@kcons kcons commented Jun 16, 2025

When process_workflow_engine is reported as slow, traces show 60-75% of the time being spent performing the many redis operations.
Batching our redis operations should avoid some of the overhead from these many round-trips.

@kcons kcons requested a review from a team as a code owner June 16, 2025 21:09
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 16, 2025
Copy link

codecov bot commented Jun 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #93658       +/-   ##
===========================================
+ Coverage   46.31%   88.02%   +41.70%     
===========================================
  Files       10310    10327       +17     
  Lines      594449   595756     +1307     
  Branches    23127    23127               
===========================================
+ Hits       275320   524393   +249073     
+ Misses     318636    70870   -247766     
  Partials      493      493               

Copy link
Member

@cathteng cathteng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm besides probably fixing a mock for that one test

@kcons kcons merged commit a8f2aa6 into master Jun 17, 2025
64 checks passed
@kcons kcons deleted the kcons/batchy branch June 17, 2025 16:43
andrewshie-sentry pushed a commit that referenced this pull request Jun 19, 2025
When process_workflow_engine is reported as slow, traces show 60-75% of
the time being spent performing the many redis operations.
Batching our redis operations should avoid some of the overhead from
these many round-trips.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants