1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00
dragonflydb-dragonfly/docs/differences.md
Roman Gershman a8c1e5cd4a feat: increase expiry period to 8 years.
Related to #923.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2023-03-13 10:19:11 +02:00

650 B

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].

String handling.

SORT does not take any locale into account.

Expiry ranges.

Expirations are limited to 8 years. For commands with millisecond precision like PEXPIRE or PSETEX, expirations greater than 2^28ms are quietly rounded to the nearest second loosing precision of less than 0.001%.

Lua

We use lua 5.4.4 that has been released in 2022. That means we also support lua integers.