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

Hashtable tweaks #35

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Hashtable tweaks #35

wants to merge 2 commits into from

Conversation

cgzones
Copy link

@cgzones cgzones commented Jan 17, 2025

  • Drop outdated hashtable entries
    Drop IP entries that had no hits in more than 6 hours.

  • Grow hashtable on congestion
    Avoid lookup slowdown when the number of stored items approaches the number of buckets in the hashtable by dynamically increasing its size.

Drop IP entries that had no hits in more than 6 hours.
Avoid lookup slowdown when the number of stored items approaches the
number of buckets in the hashtable by dynamically increasing its size.
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.

1 participant