- 04 Oct, 2013 1 commit
-
-
antirez authored
-
- 22 Jul, 2013 1 commit
-
-
antirez authored
Previously two string encodings were used for string objects: 1) REDIS_ENCODING_RAW: a string object with obj->ptr pointing to an sds stirng. 2) REDIS_ENCODING_INT: a string object where the obj->ptr void pointer is casted to a long. This commit introduces a experimental new encoding called REDIS_ENCODING_EMBSTR that implements an object represented by an sds string that is not modifiable but allocated in the same memory chunk as the robj structure itself. The chunk looks like the following: +--------------+-----------+------------+--------+----+ | robj data... | robj->ptr | sds header | string | \0 | +--------------+-----+-----+------------+--------+----+ | ^ +-----------------------+ The robj->ptr points to the contiguous sds string data, so the object can be manipulated with the same functions used to manipulate plan string objects, however we need just on malloc and one free in order to allocate or release this kind of objects. Moreover it has better cache locality. This new allocation strategy should benefit both the memory usage and the performances. A performance gain between 60 and 70% was observed during micro-benchmarks, however there is more work to do to evaluate the performance impact and the memory usage behavior.
-
- 04 Jul, 2013 1 commit
-
-
antirez authored
-
- 02 Jul, 2013 1 commit
-
-
antirez authored
This fixes issue #1094.
-
- 28 Jun, 2013 1 commit
-
-
antirez authored
-
- 20 Jun, 2013 1 commit
-
-
Jan-Erik Rediger authored
-
- 31 May, 2013 1 commit
-
-
antirez authored
-
- 30 May, 2013 2 commits
-
-
antirez authored
This way just after the CONFIG SET enabling the min-slaves feature it is possible to write to the database without delays.
-
antirez authored
This feature allows the user to specify the minimum number of connected replicas having a lag less or equal than the specified amount of seconds for writes to be accepted.
-
- 18 May, 2013 1 commit
-
-
antirez authored
Should be "continue" and was "return". This fixes issue #1110
-
- 17 May, 2013 1 commit
-
-
YAMAMOTO Takashi authored
time_t is always 64bit on recent versions of NetBSD.
-
- 15 May, 2013 9 commits
-
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
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.
-
- 14 May, 2013 4 commits
- 13 May, 2013 4 commits
- 02 May, 2013 2 commits
-
-
antirez authored
This is just to make the code exactly like the above instance used for requirepass. No actual change nor the original code violated the Redis coding style.
-
Michel Martens authored
-
- 24 Apr, 2013 1 commit
-
-
antirez authored
-
- 09 Apr, 2013 1 commit
-
-
antirez authored
-
- 04 Apr, 2013 2 commits
- 14 Mar, 2013 1 commit
-
-
NanXiao authored
Fix bug in configGetCommand function: get correct masterauth value.
-
- 06 Mar, 2013 3 commits
- 05 Mar, 2013 1 commit
-
-
antirez authored
-
- 25 Feb, 2013 1 commit
-
-
Arnaud Granal authored
The parameter repl-backlog-size is not parsed correctly in the configuration file. argv[0] is parsed instead of argv[1].
-