redis-doc
redis-doc copied to clipboard
Redis documentation source code for markdown and metadata files, conversion scripts, and so forth
2^32 is so 2011-ish Semi-related: https://github.com/redis/redis-doc/pull/1653
Currently the documentation of `OBJECT ENCODING` doesn't mention the `embstr` encoding: > Strings can be encoded as raw (normal string encoding) or int (strings representing integers in a 64 bit...
Calling SUBSTR against even the most recent Redis instances works, though the command has been renamed. Shouldn't we at least have redis.io/subst redirect to the appropriate command?
Hi, I implemented my version of CRDT into Redis. It is called [CRDT-Redis](https://github.com/elem-azar-unis/CRDT-Redis). There are some CRDTs currently implemented: * Replicated Priority Queue (RPQ) * [Add-Win RPQ](document/add-win-crpq.pdf) * [Remove-Win RPQ](document/rwf-tr.pdf)...
512 MB max value limit was removed. https://github.com/redis/redis/issues/757 `proto-max-bulk-len` was introduced with Redis 4.0.7. This limit seems to have been removed at that time. Actually I confirmed I can set...
here: https://github.com/redis/redis/blob/17511df59b96bfeab8b46d474c19ec929e605bb9/src/t_zset.c#L2663 it seems that we perform a preemptive sorting based on number of input zsets. This means there's an additional O(N*log(N)) complexity here. In cases where the input contains...
新增三种数据结构 zmap:是在zset基础上多存个value。 经典场景:一篇文章的评论,评论按点赞排序。key是文章ID,member是评论ID,点赞数是score。 好,zset没地方存评论内容了。 这是从0新写的skiplist加hashmap组合,性能略差于zset,因为多存了value。 hnset: 比原hset多个专门存放数值的值 looparr:一个循环数组,适合于存放最近N条历史数据 zmap: (与redis原生zset系列命令基本一致) xlq.zmadd key score member value xlq.zmaddReOri xlq.zmincrby xlq.zmincrbyReOri xlq.zmrangebyscore xlq.zmrevrangebyscore xlq.zmscore xlq.zminfo xlq.zmcard xlq.zmrem xlq.zmremReOri xlq.zmremByScore xlq.zmremByScoreReOri xlq.zmremRangeByScore xlq.zmremRangeByScoreReOri xlq.zmremRangeByIndex...
This PR updates the redis-benchmark available options documentation and includes some per version benchmarks of strings, sets, sorted sets and hashes.
commands.json specifies `WITHCOORD` comes before `WITHDIST`: https://github.com/redis/redis-doc/blob/8fa5ba577f3f9a90f55027c5a0d83bec8271ad27/commands.json#L1319-L1334