Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clarify comment in change fixing #4323. | antirez | 2017-09-21 | 1 | -2/+6 |
| | |||||
* | Lazyfree: avoid memory leak when free slowlog entry | zhaozhao.zz | 2017-09-21 | 1 | -2/+5 |
| | |||||
* | SLOWLOG: log offending client address and name. | antirez | 2017-06-15 | 1 | -4/+11 |
| | |||||
* | RDMF: REDIS_OK REDIS_ERR -> C_OK C_ERR. | antirez | 2015-07-26 | 1 | -1/+1 |
| | |||||
* | RDMF: OBJ_ macros for object related stuff. | antirez | 2015-07-26 | 1 | -3/+3 |
| | |||||
* | RDMF: use client instead of redisClient, like Disque. | antirez | 2015-07-26 | 1 | -1/+1 |
| | |||||
* | RDMF (Redis/Disque merge friendlyness) refactoring WIP 1. | antirez | 2015-07-26 | 1 | -1/+1 |
| | |||||
* | Introduction of a new string encoding: EMBSTR | antirez | 2013-07-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | BSD license added to every C source and header file. | antirez | 2012-11-08 | 1 | -4/+35 |
| | |||||
* | Limit memory used by big SLOWLOG entries. | antirez | 2012-04-21 | 1 | -6/+29 |
| | | | | | | | | | | | 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. | ||||
* | Added an unique ID field to every slow log entry. | antirez | 2011-06-30 | 1 | -1/+4 |
| | |||||
* | More redis.conf self-documentation. Now even queries that took exactly ↵ | antirez | 2011-06-30 | 1 | -1/+1 |
| | | | | 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. | ||||
* | slow log configuration implemented | antirez | 2011-06-30 | 1 | -0/+1 |
| | |||||
* | First implementation of the slow log feature | antirez | 2011-06-30 | 1 | -0/+111 |