1. 24 Nov, 2017 1 commit
  2. 08 Nov, 2017 1 commit
  3. 30 Oct, 2017 1 commit
    • antirez's avatar
      More robust object -> double conversion. · de474186
      antirez authored
      Certain checks were useless, at the same time certain malformed inputs
      were accepted without problems (emtpy strings parsed as zero).
      Cases where strtod() returns ERANGE but we still want to parse the input
      where ok in getDoubleFromObject() but not in the long variant.
      
      As a side effect of these fixes, this commit fixes #4391.
      de474186
  4. 28 Jul, 2017 1 commit
  5. 27 Jan, 2017 1 commit
  6. 26 Jan, 2017 1 commit
  7. 12 Jan, 2017 1 commit
  8. 06 Dec, 2016 1 commit
  9. 31 Oct, 2016 1 commit
  10. 21 Sep, 2016 1 commit
  11. 16 Sep, 2016 6 commits
  12. 15 Sep, 2016 5 commits
  13. 13 Sep, 2016 2 commits
    • antirez's avatar
      MEMORY OVERHEAD implemented (using Oran Agra initial implementation). · 8c84c962
      antirez authored
      This code was extracted from @oranagra PR #3223 and modified in order
      to provide only certain amounts of information compared to the original
      code. It was also moved from DEBUG to the newly introduced MEMORY
      command. Thanks to Oran for the implementation and the PR.
      
      It implements detailed memory usage stats that can be useful in both
      provisioning and troubleshooting memory usage in Redis.
      8c84c962
    • antirez's avatar
      objectComputeSize(): estimate collections sampling N elements. · 89dec692
      antirez authored
      For most tasks, we need the memory estimation to be O(1) by default.
      This commit also implements an initial MEMORY command.
      Note that objectComputeSize() takes the number of samples to check as
      argument, so MEMORY should be able to get the sample size as option
      to make precision VS CPU tradeoff tunable.
      
      Related to: PR #3223.
      89dec692
  14. 12 Sep, 2016 1 commit
  15. 21 Jul, 2016 1 commit
  16. 18 Jul, 2016 1 commit
    • antirez's avatar
      LFU: Initial naive eviction cycle. · a8e2d084
      antirez authored
      It is possible to get better results by using the pool like in the LRU
      case. Also from tests during the morning I believe the current
      implementation has issues in the frequency decay function that should
      decrease the counter at periodic intervals.
      a8e2d084
  17. 15 Jul, 2016 1 commit
  18. 06 Jul, 2016 2 commits
  19. 23 Jun, 2016 1 commit
  20. 22 Jun, 2016 1 commit
  21. 20 Jun, 2016 1 commit
  22. 03 Jun, 2016 1 commit
  23. 30 May, 2016 1 commit
  24. 01 Oct, 2015 5 commits
  25. 27 Jul, 2015 1 commit