-
Notifications
You must be signed in to change notification settings - Fork 2
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
Tune mitxonline uWSGI settings based on application profile #1682
Comments
I think the optimal approach is to follow what work Ibrahim did in xPro to match Nathan's writeup - no point in reinventing the wheel and it looks like the approach was fairly simple. This involves:
I plan to create one PR to add the requirements, example locustfile, and run the test locally. I'll add findings to this issue. Will then do the same in RC, adding findings to this issue, then will Have a separate, second PR which changes the settings for good + closes this issue, once we're satisfied with the result. |
@ibrahimjaved12 was working on ocw-studio. If he hasn't shared the file in that repo, he should. Otherwise, this looks like the right plan. Let's get started! |
I meant OCW 🤦 The locust file is in a comment on the PR, so I have his structure (thankfully! Hence why I expect this to be wrapped up so quickly), but i think the better breadcrumb moving forward would be to include things in a doc or example file. We have a docs folder on mitxonline, so I'm planning to make sure it's noted so we can "re-tune" quickly and easily in the future :) |
This work helped identify performance issues on /catalog of the redesign. That is being tracked here: https://github.com/mitodl/hq/issues/2781. The completion of this work is pending changes to the catalog page and completion of that ticket. At that point I will rerun tests and we'll work with what we have then. |
@JenniWhitman are you actively working on this? If not, we should move it back to in triage. |
@pdpinch |
(so, ready column over triage potentially) |
See my writeup on how to approach this: https://github.com/mitodl/hq/discussions/393
The current settings on xPro (workers = 3, threads = 25) is probably a good starting point for values.
The text was updated successfully, but these errors were encountered: