-
Notifications
You must be signed in to change notification settings - Fork 64
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
[Integration][GCP] Improved quota handling implementation and performance #1362
Open
oiadebayo
wants to merge
28
commits into
main
Choose a base branch
from
PORT-12220-improving-performance-for-quota-handling
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+184
−37
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
6fb3e55
Improved quota handling performance
oiadebayo 76c3c24
Updated version
oiadebayo a55cade
Update CHANGELOG.md
oiadebayo 86b79e8
Lint fix
oiadebayo c799d94
Merge branch 'main' into PORT-12220-improving-performance-for-quota-h…
oiadebayo 14d4e7e
Updated event processing
oiadebayo 4e1fc9a
Update resource_searches.py
oiadebayo 1e927e6
Override AsyncLimiter to fix persistence issue
oiadebayo 6f9dd72
Update base.py
oiadebayo a719808
Merge branch 'main' into PORT-12220-improving-performance-for-quota-h…
oiadebayo 8b80580
Update main.py
oiadebayo 2c923ef
Added threshold to background task queue
oiadebayo 1317643
cleanup
oiadebayo 5100a24
Merge branch 'main' into PORT-12220-improving-performance-for-quota-h…
oiadebayo 490649a
version bump
oiadebayo 2366490
Update integrations/gcp/gcp_core/helpers/ratelimiter/base.py
oiadebayo ce27525
Merge branch 'main' into PORT-12220-improving-performance-for-quota-h…
oiadebayo da28647
Attended to review comments
oiadebayo 4d91e26
Merge branch 'main' into PORT-12220-improving-performance-for-quota-h…
oiadebayo 97246ac
Merge branch 'main' into PORT-12220-improving-performance-for-quota-h…
oiadebayo c7a0c41
Merge branch 'main' into PORT-12220-improving-performance-for-quota-h…
mk-armah f53cc12
Attended to comment
oiadebayo 289f319
Merge branch 'main' into PORT-12220-improving-performance-for-quota-h…
oiadebayo 6402f82
version bump
oiadebayo 74053a9
Merge branch 'main' into PORT-12220-improving-performance-for-quota-h…
oiadebayo 5648815
Merge branch 'main' into PORT-12220-improving-performance-for-quota-h…
mk-armah 371c173
Merge branch 'main' into PORT-12220-improving-performance-for-quota-h…
oiadebayo 9748196
Attended to review comment
oiadebayo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we already utilize 80%, Is there a need to increase the time ?, and why 61 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just based totally off observation; I do not have any documentation to back me up but when I run with the 60s time limit, I hit the rate limit. With the extra second, I do not hit a 429 at all, even with larger batches of requests. I tried removing it, and I hit the limit again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a comment here explaining this