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

Fully-compare more content-store responses in staging #1312

Merged

Conversation

aldavidson
Copy link
Contributor

@aldavidson aldavidson commented Oct 12, 2023

In #1307 we reduced the percentage of mongo/postgresql content-store responses that we fully compare, to reduce the CPU overhead introduced by the comparison.

Since then, we've found and fixed two major bottlenecks - one in the proxy code that did the comparison, and one in the postgres content-store itself - and have subsequently completed a load test in staging without any of the HTTP 499 timeouts that marked previous tests, and without even coming close to maxing out the recently-increased resource limits

So, we're ready to increase the percentage of responses we compare again.
We're going for 50% on the live content-store, and 100% on the draft as that gets much less traffic. If it still performs well after this change, we can up it to 100% later

@aldavidson aldavidson merged commit 5662282 into main Oct 12, 2023
3 checks passed
@aldavidson aldavidson deleted the compare-half-the-content-store-responses-in-staging branch October 12, 2023 10:30
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.

2 participants