1. 15 3月, 2013 4 次提交
  2. 14 3月, 2013 8 次提交
  3. 13 3月, 2013 6 次提交
  4. 12 3月, 2013 1 次提交
  5. 11 3月, 2013 3 次提交
    • A
      activeExpireCycle() smarter with many DBs and under expire pressure. · 2d851333
      antirez 提交于
      activeExpireCycle() tries to test just a few DBs per iteration so that
      it scales if there are many configured DBs in the Redis instance.
      However this commit makes it a bit smarter when one a few of those DBs
      are under expiration pressure and there are many many keys to expire.
      
      What we do is to remember if in the last iteration had to return because
      we ran out of time. In that case the next iteration we'll test all the
      configured DBs so that we are sure we'll test again the DB under
      pressure.
      
      Before of this commit after some mass-expire in a given DB the function
      tested just a few of the next DBs, possibly empty, a few per iteration,
      so it took a long time for the function to reach again the DB under
      pressure. This resulted in a lot of memory being used by already expired
      keys and never accessed by clients.
      2d851333
    • A
      In databasesCron() never test more DBs than we have. · 08b107e4
      antirez 提交于
      08b107e4
    • A
      Make comment name match var name in activeExpireCycle(). · 4b1ccdfd
      antirez 提交于
      4b1ccdfd
  6. 09 3月, 2013 4 次提交
  7. 08 3月, 2013 3 次提交
  8. 07 3月, 2013 4 次提交
  9. 06 3月, 2013 7 次提交