Your Redis client already speaks KiviDB
KiviDB implements the Redis protocol and its commands, so existing clients connect unchanged. What is supported, and the few places where KiviDB deliberately differs.
KiviDB implements the Redis protocol, RESP2 and RESP3, and the Redis command set. Change the address your application connects to and leave the rest of the code as it is.
The command families KiviDB implements
| Family | Examples |
|---|---|
| Strings and counters | SET, GET, MSET, INCR, GETEX, SETRANGE |
| Hashes, lists and sets | HSET, HGETALL, LPUSH, BLPOP, SADD, SINTER |
| Sorted sets | ZADD, ZRANGE, ZINCRBY, ZRANK, ZUNION |
| Streams | XADD, XREADGROUP, XACK, XAUTOCLAIM |
| Pub/Sub | PUBLISH, SUBSCRIBE, PSUBSCRIBE, SPUBLISH |
| Transactions and scripting | MULTI, EXEC, WATCH; EVAL and FUNCTION in the Lua build |
| JSON documents | JSON.SET, JSON.GET, JSON.NUMINCRBY |
| Search and vectors | FT.CREATE, FT.SEARCH, FT.AGGREGATE, vector KNN |
| Time series | TS.ADD, TS.RANGE, TS.MRANGE |
| Geospatial, bitmaps, HyperLogLog | GEOADD, GEOSEARCH, SETBIT, PFADD, PFCOUNT |
| Access control | ACL SETUSER, ACL LIST, AUTH, HELLO |
| Cluster and replication | CLUSTER commands over 16,384 hash slots; REPLICAOF |
The command reference gives the syntax and behaviour of each command, including the options added up to Redis 8.10.
Where KiviDB deliberately differs
These answer with a clear error rather than behaving almost like Redis. The command reference lists every one.
- Lua is a separate build EVAL, EVALSHA, SCRIPT and FUNCTION work in the Lua build. The default build, which is the fastest, answers them with an error. On KiviDB Cloud it is a switch on the database.
- No Redis modules MODULE LOAD is not supported. Search, JSON and time series are built into the server, so the modules that provide them in Redis are not needed.
- No Sentinel KiviDB does not implement the Sentinel topology. Use cluster mode, the Kubernetes operator, or KiviDB Cloud, which handle failover themselves.
- Search Text fields match whole words, prefixes, suffixes, infixes and fuzzily; stemming and phonetic matching are not implemented.
Read the detail
- Command reference: Every supported command, with syntax and behaviour.
- Cluster mode: Run KiviDB as a Redis-compatible cluster.
- Benchmarks: How KiviDB compares on throughput and latency.
Point your client at KiviDB
Create a free database, change one address, and run your existing test suite against it.