KEMBAR78
Throttle app by cluster by meiji163 · Pull Request #150 · github/freno · GitHub
Skip to content

Conversation

@meiji163
Copy link
Contributor

When manually throttling an app, usually we want to throttle for only one cluster, not globally.
This adds store_name query parameter for /throttle-app endpoint to throttle app on specific store. On the backend it just uses app/store as key so no change to backend storage needed.

/throttle-app/<app>: throttle app globally
/thottle-app/<app>?store_name=<cluster>: throttle app on cluster
/unthrottle-app/<app>: unthrottle app globally and on all clusters

cc/ https://github.com/github/database-infrastructure/issues/4420

@meiji163 meiji163 marked this pull request as ready for review September 22, 2022 03:50
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

🚀

@meiji163 meiji163 temporarily deployed to staging September 22, 2022 17:00 Inactive
@meiji163 meiji163 temporarily deployed to production September 22, 2022 22:51 Inactive
@meiji163 meiji163 merged commit f987bf1 into master Sep 23, 2022
@meiji163 meiji163 deleted the meiji163/throttle-cluster branch September 23, 2022 02:27
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