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

Drop sentry async job submission - use Sentry's builtin background worker #2951

Merged
merged 3 commits into from
Sep 28, 2021

Conversation

rsanheim
Copy link
Contributor

@rsanheim rsanheim commented Sep 28, 2021

Sentry has had its own backgrounb job submissions done via concurrent-ruby since version 4.1. We have been using the async config option for a long time to send jobs through Sidekiq, which has quite a bit overhead and also introduces another point of failure for error submission.

This PR removes the async option so that Sentry will just use its own background thread for job processing.

See getsentry/sentry-ruby#1522 for more details about this and why we want to do this change, as its possible the async option may be removed entirely in sentry-ruby version 5.

We suspect this also may be a cause of https://app.shortcut.com/simpledotorg/story/5282/redis-down-in-production

Story card: ch5288

@rsanheim rsanheim requested a review from a team September 28, 2021 17:53
@shortcut-integration
Copy link

@harimohanraj89 harimohanraj89 temporarily deployed to simple-review-pr-2951 September 28, 2021 17:55 Inactive
Copy link
Contributor

@kpethtel kpethtel left a comment

Choose a reason for hiding this comment

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

Thanks for handling this and writing a helpful description of what the problem was.

We are using Datadog for tracing currently, and having two tools
capturing trace info is not necessary and may add some overhead we don't
want..
@rsanheim rsanheim had a problem deploying to simple-review-pr-2951 September 28, 2021 18:07 Failure
@rsanheim rsanheim temporarily deployed to simple-review-pr-2951 September 28, 2021 18:19 Inactive
@rsanheim
Copy link
Contributor Author

rsanheim commented Sep 28, 2021

@rsanheim rsanheim merged commit 1fc10ed into master Sep 28, 2021
@rsanheim rsanheim deleted the use-sentrys-builtin-async-job-submission branch September 28, 2021 18:34
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.

3 participants