Commit ID 1dcc95d08105167a3a69acc4fd8d3bb725a5ac8f
|
Contributor: | antirez | Files Modified: | 2 |
| Date: | 11-May-2012 at 17:17 | Lines Added: | 9 | |
| Repository: | git://github.com/antirez/redis.git unstable | Lines Removed: | 1 | |
| Commit Comment: | More incremental active expired keys collection process. If a large amonut of keys are all expiring about at the same time, the "active" expired keys collection cycle used to block as far as the percentage of already expired keys was >= 25% of the total population of keys with an expire set. This could block the server even for many seconds in order to reclaim memory ASAP. The new algorithm uses at max a small amount of milliseconds per cycle, even if this means reclaiming the memory less promptly it also means a more responsive server. |
|||
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.