-
Notifications
You must be signed in to change notification settings - Fork 640
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
Tenant monitoring performance improvements #6868
Merged
gokhangulbiz
merged 27 commits into
main
from
gokhangulbiz/tenant-stats-perf-improvements
Jun 11, 2023
Merged
Changes from 14 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
b437aa9
Use spinlock instead of lwlock per tenant
gokhangulbiz ccd464b
Initial hashtable implementation for tenant stats
gokhangulbiz 779af6a
Merge remote-tracking branch 'upstream/main' into gokhangulbiz/tenant…
gokhangulbiz 817b1df
Remove unneccesarry locks and add comments
gokhangulbiz 4bfb2a0
Merge branch 'main' into gokhangulbiz/tenant-stats-perf-improvements
gokhangulbiz 7269755
Indent
gokhangulbiz f5befff
Merge branch 'main' into gokhangulbiz/tenant-stats-perf-improvements
gokhangulbiz 7649b9d
Merge branch 'main' into gokhangulbiz/tenant-stats-perf-improvements
gokhangulbiz 301c258
Merge branch 'main' into gokhangulbiz/tenant-stats-perf-improvements
gokhangulbiz 9c4c402
Use HASH_BLOB flag for tenants
gokhangulbiz f53b4cb
Simplfy CreateTenantStats()
gokhangulbiz 0466b81
Refactor CreateTenantStatsHashKey() to FillTenantStatsHashKey
gokhangulbiz 5027321
Merge remote-tracking branch 'upstream/main' into gokhangulbiz/tenant…
gokhangulbiz 7575f36
Indent
gokhangulbiz f88e988
Store TenantsStatsHashKey on the stack
gokhangulbiz dc7aa52
Indent
gokhangulbiz a8d3805
Probabilistic tracking for new tenants.
gokhangulbiz f6c4a78
Merge branch 'main' into gokhangulbiz/tenant-stats-perf-improvements
gokhangulbiz b960d40
Merge branch 'main' into gokhangulbiz/tenant-stats-perf-improvements
gokhangulbiz ebbbf40
Merge branch 'main' into gokhangulbiz/tenant-stats-perf-improvements
gokhangulbiz adcaff6
Merge branch 'main' into gokhangulbiz/tenant-stats-perf-improvements
gokhangulbiz 593d86d
Merge branch 'main' into gokhangulbiz/tenant-stats-perf-improvements
gokhangulbiz 29b4ee4
Merge branch 'main' into gokhangulbiz/tenant-stats-perf-improvements
gokhangulbiz 04bc313
Merge branch 'main' into gokhangulbiz/tenant-stats-perf-improvements
gokhangulbiz fdeba17
Fix sorting issue.
gokhangulbiz ac90c5d
Increase tenant scores to prevent flakyness due to eviction.
gokhangulbiz 648b53c
Refactor probabilistic tracking implementation.
gokhangulbiz File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
Oops, something went wrong.
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.
What I meant as an advantage of this approach was that you can store TenantsStatsHashKey on the stack instead.