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

feat(server): Introduce and use TopKeys class. #951

Merged
merged 5 commits into from
Mar 18, 2023

Conversation

chakaz
Copy link
Collaborator

@chakaz chakaz commented Mar 16, 2023

TopKeys uses a custom implementation of HeavyKeeper to track top (hot) keys usage for debugging purposes.
This commit also integrates TopKeys (default off) into DbTable and counts usage of (present) key lookups.

Fixes #257

chakaz added 4 commits March 16, 2023 10:53
TopKeys uses a custom implementation of HeavyKeeper to track top (hot)
keys usage for debugging purposes.
This commit also integrates TopKeys (default off) into DbTable and counts
usage of (present) key lookups.

Signed-off-by: chakaz <chakaz@chakaz>
Signed-off-by: chakaz <chakaz@chakaz>
Signed-off-by: chakaz <chakaz@chakaz>
This is a better API as it's less confusing. This feature is still disabled by default via the controlling flag.

Signed-off-by: chakaz <chakaz@chakaz>
src/server/main_service.cc Outdated Show resolved Hide resolved
Signed-off-by: chakaz <chakaz@chakaz>
@romange
Copy link
Collaborator

romange commented Mar 17, 2023

This will be merged post 1.0 release

@romange romange merged commit 68cb4d0 into dragonflydb:main Mar 18, 2023
@chakaz chakaz deleted the topkeys branch March 18, 2023 18:55
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.

recognizing hot keys
2 participants