2022-04-03 19:55:53 +00:00
|
|
|
# Differences with Redis
|
|
|
|
|
|
|
|
## String lengths, indices.
|
|
|
|
|
|
|
|
String sizes are limited to 256MB.
|
|
|
|
Indices (say in GETRANGE and SETRANGE commands) should be signed 32 bit integers in range
|
|
|
|
[-2147483647, 2147483648].
|
|
|
|
|
2022-09-23 04:17:49 +00:00
|
|
|
### String handling.
|
|
|
|
|
|
|
|
SORT does not take any locale into account.
|
|
|
|
|
2022-04-03 19:55:53 +00:00
|
|
|
## Expiry ranges.
|
2023-03-13 07:44:29 +00:00
|
|
|
Expirations are limited to 8 years. For commands with millisecond precision like PEXPIRE or PSETEX,
|
2023-10-03 13:05:04 +00:00
|
|
|
expirations greater than 2^28ms are quietly rounded to the nearest second losing precision of less than 0.001%.
|
2022-04-03 19:55:53 +00:00
|
|
|
|
2022-05-29 14:47:34 +00:00
|
|
|
## Lua
|
|
|
|
We use lua 5.4.4 that has been released in 2022.
|
2023-03-13 07:44:29 +00:00
|
|
|
That means we also support [lua integers](https://github.com/redis/redis/issues/5261).
|