Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Apr 24, 2013
Commits on Mar 11, 2013
  1. serverCron() frequency is now a runtime parameter (was REDIS_HZ).

    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
    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.
Commits on Mar 6, 2013
Commits on Mar 4, 2013
  1. @stamhe
Commits on Feb 11, 2013
Commits on Feb 5, 2013
Commits on Feb 4, 2013
  1. @davidcelis

    Fix a few typos and improve grammar of redis.conf

    davidcelis authored committed
    Make several edits to the example redis.conf configuration file for
    improved flow and grammar.
    Signed-off-by: David Celis <>
Commits on Jan 19, 2013
  1. @guiquanz

    Fixed many typos.

    guiquanz authored committed
Commits on Aug 31, 2012
Commits on Apr 21, 2012
  1. Limit memory used by big SLOWLOG entries.

    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.
Commits on Apr 13, 2012
  1. Stop access to global vars. Not configurable.

    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.
Commits on Apr 10, 2012
  1. It is now possible to enable/disable RDB checksum computation from re…

    …dis.conf or via CONFIG SET/GET. Also CONFIG SET support added for rdbcompression as well.
Commits on Mar 22, 2012
  1. Support for read-only slaves. Semantical fixes.

    This commit introduces support for read only slaves via redis.conf and CONFIG GET/SET commands. Also various semantical fixes are implemented here:
    1) MULTI/EXEC with only read commands now work where the server is into a state where writes (or commands increasing memory usage) are not allowed. Before this patch everything inside a transaction would fail in this conditions.
    2) Scripts just calling read-only commands will work against read only
    slaves, when the server is out of memory, or when persistence is into an
    error condition. Before the patch EVAL always failed in this condition.
Commits on Mar 20, 2012
Commits on Mar 10, 2012
  1. fix typo of redis.conf

    quiver authored committed
Commits on Mar 9, 2012
  1. Merge conflicts resolved.

Commits on Mar 7, 2012
  1. By default Redis refuses writes with an error if the latest BGSAVE fa…

    …iled (and at least one save point is configured). However people having good monitoring systems may prefer a server that continues to work, since they are notified that there are problems by their monitoring systems. This commit implements the ability to turn the feature on or off via redis.conf and CONFIG SET.
Commits on Feb 7, 2012
Commits on Jan 25, 2012
  1. @pietern

    Update default configuration

    pietern authored
Commits on Jan 24, 2012
Commits on Jan 16, 2012
  1. It is now posible to flush all the previous saving points in…

    …nf by using a save directive with a single empty string argument, like it happens for CONFIG SET save.
Commits on Dec 28, 2011
  1. @kashif

    Fixed some typos in redis.conf.

    kashif authored
Commits on Dec 22, 2011
  1. @diegok

    Fixed a config docs typo.

    diegok authored
Commits on Nov 30, 2011
Commits on Nov 21, 2011
  1. @jerem

    Fixed a typo in comments.

    jerem authored
Commits on Nov 18, 2011
Commits on Oct 31, 2011
Something went wrong with that request. Please try again.