1. 10 7月, 2014 1 次提交
  2. 21 6月, 2014 1 次提交
    • A
      Client types generalized. · b6a26b52
      antirez 提交于
      Because of output buffer limits Redis internals had this idea of type of
      clients: normal, pubsub, slave. It is possible to set different output
      buffer limits for the three kinds of clients.
      
      However all the macros and API were named after output buffer limit
      classes, while the idea of a client type is a generic one that can be
      reused.
      
      This commit does two things:
      
      1) Rename the API and defines with more general names.
      2) Change the class of clients executing the MONITOR command from "slave"
         to "normal".
      
      "2" is a good idea because you want to have very special settings for
      slaves, that are not a good idea for MONITOR clients that are instead
      normal clients even if they are conceptually slave-alike (since it is a
      push protocol).
      
      The backward-compatibility breakage resulting from "2" is considered to
      be minimal to care, since MONITOR is a debugging command, and because
      anyway this change is not going to break the format or the behavior, but
      just when a connection is closed on big output buffer issues.
      b6a26b52
  3. 22 4月, 2014 1 次提交
  4. 16 4月, 2014 1 次提交
  5. 31 1月, 2014 3 次提交
  6. 19 12月, 2013 3 次提交
  7. 12 12月, 2013 1 次提交
  8. 06 12月, 2013 2 次提交
  9. 05 12月, 2013 2 次提交
  10. 11 7月, 2013 2 次提交
  11. 08 7月, 2013 1 次提交
  12. 30 5月, 2013 2 次提交
  13. 27 5月, 2013 1 次提交
  14. 15 5月, 2013 1 次提交
    • A
      Added a define for most configuration defaults. · 180cfaae
      antirez 提交于
      Also the logfile option was modified to always have an explicit value
      and to log to stdout when an empty string is used as log file.
      
      Previously there was special handling of the string "stdout" that set
      the logfile to NULL, this always required some special handling.
      180cfaae
  15. 24 4月, 2013 1 次提交
  16. 06 3月, 2013 1 次提交
  17. 04 3月, 2013 1 次提交
  18. 12 2月, 2013 1 次提交
  19. 11 2月, 2013 2 次提交
  20. 05 2月, 2013 1 次提交
  21. 04 2月, 2013 1 次提交
  22. 28 1月, 2013 2 次提交
  23. 19 1月, 2013 1 次提交
    • G
      Fixed many typos. · 1caf0939
      guiquanz 提交于
      Conflicts fixed, mainly because 2.8 has no cluster support / files:
      	00-RELEASENOTES
      	src/cluster.c
      	src/crc16.c
      	src/redis-trib.rb
      	src/redis.h
      1caf0939
  24. 15 12月, 2012 1 次提交
    • A
      serverCron() frequency is now a runtime parameter (was REDIS_HZ). · a6d117b6
      antirez 提交于
      REDIS_HZ is the frequency our serverCron() function is called with.
      A more frequent call to this function results into less latency when the
      server is trying to handle very expansive background operations like
      mass expires of a lot of keys at the same time.
      
      Redis 2.4 used to have an HZ of 10. This was good enough with almost
      every setup, but the incremental key expiration algorithm was working a
      bit better under *extreme* pressure when HZ was set to 100 for Redis
      2.6.
      
      However for most users a latency spike of 30 milliseconds when million
      of keys are expiring at the same time is acceptable, on the other hand a
      default HZ of 100 in Redis 2.6 was causing idle instances to use some
      CPU time compared to Redis 2.4. The CPU usage was in the order of 0.3%
      for an idle instance, however this is a shame as more energy is consumed
      by the server, if not important resources.
      
      This commit introduces HZ as a runtime parameter, that can be queried by
      INFO or CONFIG GET, and can be modified with CONFIG SET. At the same
      time the default frequency is set back to 10.
      
      In this way we default to a sane value of 10, but allows users to
      easily switch to values up to 500 for near real-time applications if
      needed and if they are willing to pay this small CPU usage penalty.
      a6d117b6
  25. 31 8月, 2012 1 次提交
  26. 22 4月, 2012 1 次提交
    • A
      Limit memory used by big SLOWLOG entries. · 590d55a2
      antirez 提交于
      Two limits are added:
      
      1) Up to SLOWLOG_ENTRY_MAX_ARGV arguments are logged.
      2) Up to SLOWLOG_ENTRY_MAX_STRING bytes per argument are logged.
      3) slowlog-max-len is set to 128 by default (was 1024).
      
      The number of remaining arguments / bytes is logged in the entry
      so that the user can understand better the nature of the logged command.
      590d55a2
  27. 21 4月, 2012 1 次提交
  28. 13 4月, 2012 2 次提交
    • A
      Stop access to global vars. Not configurable. · 97cab309
      antirez 提交于
      After considering the interaction between ability to delcare globals in
      scripts using the 'global' function, and the complexities related to
      hanlding replication and AOF in a sane way with globals AND ability to
      turn protection On and Off, we reconsidered the design. The new design
      makes clear that there is only one good way to write Redis scripts, that
      is not using globals. In the rare cases state must be retained across
      calls a Redis key can be used.
      97cab309
    • A
      Scripting: globals protection can now be switched on/off. · 3e6a4463
      antirez 提交于
      3e6a4463
  29. 10 4月, 2012 1 次提交