High Activity

Commits : Individual Commit

  Analyzed 3 days ago based on code collected 3 days ago.

Commit ID 1dcc95d08105167a3a69acc4fd8d3bb725a5ac8f

Anon80 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.
 

Changes by Language

Language Code Added Code Removed Comments Added Comment Removed Blanks Added Blanks Removed
  C 5 1 3 0 0 0
  C++ 1 0 0 0 0 0

Changes by File

 
 
 

Creative Commons License 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.