Files
redis/src
antirez e423f76e75 LRU: Make cross-database choices for eviction.
The LRU eviction code used to make local choices: for each DB visited it
selected the best key to evict. This was repeated for each DB. However
this means that there could be DBs with very frequently accessed keys
that are targeted by the LRU algorithm while there were other DBs with
many better candidates to expire.

This commit attempts to fix this problem for the LRU policy. However the
TTL policy is still not fixed by this commit. The TTL policy will be
fixed in a successive commit.

This is an initial (partial because of TTL policy) fix for issue #2647.
2016-07-13 13:12:30 +02:00
..
2012-04-13 17:52:33 -07:00
2016-04-25 16:49:57 +03:00
2016-04-25 16:49:57 +03:00
2016-06-07 16:46:00 -04:00
2016-04-04 14:13:46 +02:00
2016-04-04 08:50:58 +02:00
2016-04-04 08:50:58 +02:00
2015-10-01 13:02:25 +02:00
2016-06-16 12:54:33 +02:00
2015-07-27 14:37:58 +02:00
2016-04-25 16:48:25 +03:00
2016-07-06 15:28:18 +02:00
2016-05-23 13:58:50 +03:00
2016-06-14 14:45:28 +02:00
2015-07-27 14:37:58 +02:00
2016-01-13 00:49:28 -08:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2014-08-08 10:05:32 +02:00
2016-04-25 16:49:57 +03:00
2015-04-27 12:07:49 +02:00
2015-04-27 12:07:49 +02:00
2014-07-02 16:31:22 +02:00
2016-05-10 06:40:05 +02:00
2011-07-06 15:22:00 +02:00
2015-01-02 11:16:08 -05:00
2015-04-29 10:33:21 +02:00
2016-01-13 00:49:28 -08:00