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

feat(uptime): Make consumer able to run in parallel #81409

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wedamija
Copy link
Member

This adds thread pool parallelization to the uptime consumer. We should potentially consider process parallelizatoin as well, so that we can take advantage of all cores.

This is a rough draft of this and isn't tested - based off the issue occurrence consumer and monitor consumer.

This adds thread pool parallelization to the uptime consumer. We should potentially consider process parallelizatoin as well, so that we can take advantage of all cores.

This is a rough draft of this and isn't tested - based off the issue occurrence consumer and monitor consumer.
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 27, 2024
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

Attention: Patch coverage is 53.84615% with 30 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
.../remote_subscriptions/consumers/result_consumer.py 53.22% 29 Missing ⚠️
src/sentry/uptime/consumers/results_consumer.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #81409      +/-   ##
==========================================
- Coverage   80.38%   80.37%   -0.01%     
==========================================
  Files        7231     7231              
  Lines      319909   319968      +59     
  Branches    20806    20806              
==========================================
+ Hits       257145   257173      +28     
- Misses      62374    62405      +31     
  Partials      390      390              

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.

1 participant