-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[scheduler] Admission rotation window + improve hash distribution (#865)
The current mechanism will always penalize the same ids. This PR introduces a time-based window mechanism to rotate which IDs are rejected over time. I've also added a multiplication with a large prime to improve the hash distribution in case the incoming IDs aren't well distributed.
- Loading branch information
Showing
2 changed files
with
83 additions
and
12 deletions.
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