-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't check the hard limit on each insert (#339)
When inserting keys, don't check if they will hit the hardlimit on each single insert as the keys eviction fiber has already a mechanism to enter an --extreme-- purging mode if the the hard limit is going to be hit very soon. This check literally reduces the performances by 50% when doing pipelines inserts, has an impact as well when doing normal sets.
- Loading branch information
1 parent
b54e11d
commit 5418cc1
Showing
2 changed files
with
0 additions
and
27 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