antirez
d264122f6a
Config option to turn AOF rewrite incremental fsync on/off.
2013-04-24 10:57:07 +02:00
antirez
05fa4f4034
Cluster: node timeout is now configurable.
2013-04-04 12:29:10 +02:00
antirez
4d62912619
Add a warning about command renaming in redis.conf.
2013-03-06 15:47:16 +01:00
Stam He
d783860457
point 2 of slave-serve-stale-data miss '-' between 'stale' and 'data'
2013-03-04 10:49:07 +01:00
antirez
078882025e
PSYNC: work in progress, preview #2 , rebased to unstable.
2013-02-12 12:52:21 +01:00
antirez
93ae95de74
TCP keep-alive. Better documentation in redis.conf.
2013-02-09 01:17:59 +01:00
antirez
98b1a852b4
tcp-keepalive option documented in redis.conf.
2013-02-08 17:03:11 +01:00
antirez
b70b459b0e
TCP_NODELAY after SYNC: changes to the implementation.
2013-02-05 12:04:30 +01:00
David Celis
81144645b4
Fix a few typos and improve grammar of redis.conf
...
Make several edits to the example redis.conf configuration file for
improved flow and grammar.
Signed-off-by: David Celis <me@davidcel.is>
2013-02-03 11:40:07 -08:00
antirez
fce016d31b
Keyspace events: it is now possible to select subclasses of events.
...
When keyspace events are enabled, the overhead is not sever but
noticeable, so this commit introduces the ability to select subclasses
of events in order to avoid to generate events the user is not
interested in.
The events can be selected using redis.conf or CONFIG SET / GET.
2013-01-28 13:15:12 +01:00
antirez
4cdbce341e
Keyspace events notification API.
2013-01-28 13:14:36 +01:00
guiquanz
9d09ce3981
Fixed many typos.
2013-01-19 10:59:44 +01:00
antirez
f1481d4a03
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
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.
2012-12-14 17:10:40 +01:00
antirez
712656e848
Sentinel: added documentation about slave-priority in redis.conf
2012-08-28 17:53:18 +02:00
antirez
d3701d2714
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.
2012-04-21 20:34:45 +02:00
antirez
60e2e5b50d
redis.conf AOF section comments improved.
2012-04-20 00:04:07 +02:00
antirez
84bcd3aa24
It is now possible to enable/disable RDB checksum computation from redis.conf or via CONFIG SET/GET. Also CONFIG SET support added for rdbcompression as well.
2012-04-10 15:47:10 +02:00
antirez
ba864e09d4
Comments about security of slave-read-only in redis.coinf.
2012-03-21 12:26:05 +01:00
antirez
f3fd419fc9
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.
2012-03-20 17:32:48 +01:00
quiver
96e9f8d5e3
fix typo of redis.conf
2012-03-10 21:09:34 +09:00
antirez
8562798308
Merge conflicts resolved.
2012-03-09 22:07:45 +01:00
antirez
4d3bbf3590
By default Redis refuses writes with an error if the latest BGSAVE failed (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.
2012-03-07 18:02:26 +01:00
antirez
f9ef912c66
more practical maxmemory+slaves hint in redis.conf
2012-02-08 00:20:46 +01:00
antirez
cebb7b92ce
redis.conf updated with new maxmemory semantics
2012-02-08 00:17:27 +01:00
Pieter Noordhuis
d3ea4c86a8
Update default configuration
2012-01-25 13:37:43 -08:00
antirez
3cbce4f45e
redis.conf typo fixed in the client-output-buffer-limit documentation
2012-01-24 14:46:23 +01:00
antirez
c8a607f2b6
client-output-buffer-limit documented in redis.conf
2012-01-24 11:23:23 +01:00
antirez
f7ccc4830b
Merge remote-tracking branch 'origin/unstable' into unstable
2012-01-16 16:50:41 +01:00
antirez
4aac3ff247
It is now posible to flush all the previous saving points in redis.conf by using a save directive with a single empty string argument, like it happens for CONFIG SET save.
2012-01-16 16:50:24 +01:00
Kashif Rasul
57c0cf8b85
Fixed some typos in redis.conf.
2011-12-28 22:14:23 +01:00
diegok
ce6628dae7
Fixed a config docs typo.
2011-12-22 12:22:23 +01:00
antirez
c6f9ee88fa
default log level is now notice.
2011-11-30 15:04:40 +01:00
Jérémy Bethmont
92a157eae5
Fixed a typo in comments.
2011-11-21 09:38:14 +08:00
antirez
0b14e44118
redis.conf updated to reflect the new scripting timeout semantics.
2011-11-18 16:29:22 +01:00
antirez
aba4adb7dc
use timeout 0 by default, as this is a common source of problems.
2011-10-31 15:43:09 +01:00
antirez
85ccd57632
added more clarifications in redis.conf about ther right value to set as replication timeout.
2011-10-31 11:17:21 +01:00
Herbert G. Fischer
f15e33a884
fixed typo in comments
2011-10-31 11:13:37 +01:00
antirez
8996bf7720
7c6da73
2011-10-31 11:13:28 +01:00
antirez
58732c23d5
maxclients configuration is now implemented dealing with the actual process rlimits. Setting maxclients to 0 no longer makes sense and is now invalid, the new default is 10000.
...
See issue #162 for more information.
2011-10-31 10:49:27 +01:00
antirez
115e3ff39e
If a Lua script executes for more time than the max time specified in the configuration Redis will log a warning, and will start accepting queries (re-entering the event loop), returning -SLOWSCRIPT error for all the commands but SHUTDOWN that remains callable.
2011-10-27 14:49:10 +02:00
Nathan Florea
8523876503
Added a config directive for a Unix socket mask
...
Added a configuration directive to allow a user to specify the
permissions to be granted to the Unix socket file. I followed
the format Pieter and Salvatore discusses in issue #85 (
https://github.com/antirez/redis/issues/85 ).
2011-10-10 11:21:15 -07:00
antirez
07c152a7bd
cluster config file entries added to the example configuration file
2011-09-28 15:55:52 +02:00
antirez
0681c5ad84
master branch merged into scripting.
2011-07-12 12:39:16 +02:00
antirez
208092ad70
Fixed typo in redis.conf related to slow log parameters
2011-07-03 15:49:49 +02:00
antirez
de32c37c06
More redis.conf self-documentation. Now even queries that took exactly server.slow_log_slower_than are logged, as this is not exact but is more intuitive for people, and a value of 0 will force every query to be logged.
2011-06-30 15:54:05 +02:00
antirez
35a6044140
slow log configuration implemented
2011-06-30 15:47:15 +02:00
antirez
994ed2bc55
unstable merge conflicts resolved
2011-06-25 12:29:24 +02:00
antirez
c9d0c3623a
diskstore removed
2011-06-25 12:22:03 +02:00
antirez
0d1650f8a9
Updated to unstable
2011-06-14 18:06:39 +02:00
antirez
b333e23997
automatic AOF rewrite first implementation. Still to be tested.
2011-06-10 12:39:23 +02:00
antirez
eeffcf380f
Lua scripts max execution time
2011-05-25 12:32:48 +02:00
Pieter Noordhuis
3ea204e103
Configurable thresholds for encoded sorted sets
2011-03-09 14:01:57 +01:00
antirez
68d6345ddf
If port zero is specified, Redis will not listen for TCP connections
2011-02-07 12:52:01 +01:00
antirez
b8cfcea424
default hash encoding settings also fixed in redis.conf
2011-01-15 22:31:07 +01:00
Pieter Noordhuis
a2b33f2f93
Remove glueoutputbuf from redis.conf
2011-01-05 10:42:37 +01:00
antirez
aa81e4d5f4
minor changes to doc and comments
2010-12-31 18:23:31 +01:00
antirez
6a246b1e7e
special encoding limits redefined, and all the config options for special encodings added in the example redis.conf file
2010-12-14 18:23:52 +01:00
Jonah H. Harris
e1a586ee69
syslog support
2010-12-09 11:10:21 -05:00
antirez
5402c4262e
added noeviction policy to redis maxmemory. ZSCORE removed from the list of commands that can't be called when we are low on memory, this command was added in the past for a stupid error.
2010-11-08 16:12:16 +01:00
antirez
4ebfc45528
config option to select if when replication link with master a slave should or not serve stale data
2010-11-04 19:59:21 +01:00
antirez
8d3e063a0a
added support for command renaming/suppression in redis.conf
2010-11-03 12:14:36 +01:00
antirez
0a546fc017
Merge remote branch 'pietern/unixsocket'
2010-11-02 23:47:52 +01:00
antirez
a36879293d
maxmemory-samples implemented in CONFIG command and configuration file
2010-10-15 11:57:38 +02:00
antirez
165346ca29
implemented different algorithms for maxmemory
2010-10-14 21:22:21 +02:00
Pieter Noordhuis
893819801d
Remove disabling TCP with port -1
2010-10-13 17:18:58 +02:00
Pieter Noordhuis
5d10923f7b
Rename variable sockpath to unixsocket
2010-10-13 17:17:56 +02:00
Pieter Noordhuis
a5639e7dd9
Change initialization to allow listening on both a port and socket
2010-08-03 13:33:12 +02:00
antirez
d5d23dabd7
redis.conf new features the new option, a minor typo preventing the compilation fixed
2010-05-28 10:48:04 +02:00
antirez
9682a58fca
conflicts resolved
2010-05-13 14:24:41 +02:00
antirez
1b67773229
CONFIG now can change appendfsync policy at run time
2010-05-10 20:56:54 +02:00
Pieter Noordhuis
f3b52411db
make append only filename configurable
2010-05-07 11:55:12 +02:00
antirez
a0e7e5f516
swap file name pid expansion removed. Not suited for mission critical software...
2010-05-07 09:36:37 +02:00
antirez
029245feac
clarified a few messages in redis.conf
2010-05-06 18:04:51 +02:00
antirez
723240057a
new units for bytes specification
2010-04-22 15:09:07 +02:00
antirez
8ca3e9d10b
Active rehashing
2010-04-15 18:07:57 +02:00
antirez
bdcb92f273
shareobjects feautres killed - no gains most of the time, but VM complexities
2010-04-09 17:13:39 +02:00
antirez
4005fef124
Now PUBLISH commands are replicated to slaves
2010-04-02 16:42:15 +02:00
Jeremy Zawodny
b3f83f1272
support for include directive in config parser
2010-03-19 22:24:17 -07:00
antirez
cbba7dd7c9
HSET fixes, now the new pointer is stored back in the object pointer field
2010-03-07 23:41:48 +01:00
antirez
5921aa36ed
Bug #169 fixed (BLOP/BRPOP interrupted connections are not cleared from the queue)
2010-02-27 12:26:08 +01:00
antirez
ce8330208a
Saner VM defaults for redis.conf
2010-02-10 15:59:09 +01:00
antirez
6766f45ef2
multi bulk requests in redis-benchmark, default fsync policy changed to everysec, added a prefix character for DEBUG logs
2010-02-06 13:39:07 +01:00
antirez
054e426dbd
support for named VM swap file. Fixed a few important interaction issues between the background saving processes and IO threads
2010-01-15 13:14:23 -05:00
antirez
72e9fd40b6
support for blocking VM in config file
2010-01-12 15:23:52 -05:00
antirez
92f8e88204
non-blocking VM data structures, just a start
2010-01-09 12:46:52 -05:00
antirez
c9e5c23d5b
vm-enabled set to no by default in redis.conf
2010-01-06 21:05:03 -05:00
antirez
38aba9a121
a new default redis.conf
2010-01-06 21:03:16 -05:00
antirez
7d98e08c0a
VM stats in INFO command
2010-01-06 20:14:27 -05:00
antirez
f870935d3e
Introduced a new log verbosity level, so now DEBUG is really for debugging. Refactored a bit maxmemory. When virtual memory is short in RAM free the objects freelist as well as swapping things out.
2010-01-06 09:15:17 -05:00
antirez
e7546c6393
BGREWRITEAOF now works with swapping on
2010-01-05 19:15:15 -05:00
antirez
4ef8de8ad7
basic VM mostly working!
2010-01-05 12:46:59 -05:00
antirez
a35ddf129c
more object-level VM primitives
2010-01-05 07:19:09 -05:00
antirez
b055378971
LZF compression re-enabled by default, but with INIT_HTAB set to 0 to avoid the very costly memset initialization. Note that with this option set valgrind will output some false positive about lzf_c.c
2009-12-16 15:48:57 -05:00
antirez
121f70cfae
lzf compression switched off by default now, with config file option to enable it in redis.conf
2009-12-16 11:28:41 -05:00
antirez
49b99ab43e
Changed the reply of BGSAVE and BGREWRITEAOF from +OK to a more meaningful message that makes the user aware of an operation that just started and is not yet finished.
2009-12-13 16:52:43 +01:00
antirez
3f477979b3
TODO list modified. What's planned for 1.4 is now written in the stone ;)
2009-12-12 19:42:42 +01:00
antirez
4e141d5a21
append only mode is now able to translate EXPIRE into EXPIREAT transparently
2009-10-30 17:20:24 +01:00
antirez
0154acdc57
appendfsync is now set to NO by default
2009-10-30 16:35:16 +01:00
antirez
48f0308ad3
support for appendonly mode no, always, everysec
2009-10-30 13:48:53 +01:00
antirez
44b38ef432
Initial implementation of append-only mode. Loading still not implemented.
2009-10-30 01:04:17 +01:00