-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tune message consumption in production (#8352)
## Summary Production performance tuning * Caches billing queries that can be slow and cause high postgres CPU * Cleans up duplicate session id query code * Fixes stripe billing for overages on annual subscriptions * Fixes network request parsing error https://app.highlight.io/1/errors/ckj5r5aj8wfnyrd5Fv7K7p0wGlb5 * Removes unused index * Removes old `sessions to process` query which is not used (using redis to track sessions to process) * Supports programmatic sampling of consumer spans ## How did you test this change? local deploy, ec2 deploy ## Are there any deployment considerations? no ## Does this work require review from our design team? no
- Loading branch information
Showing
9 changed files
with
135 additions
and
112 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.