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

FamilyExamples
Strings and countersSET, GET, MSET, INCR, GETEX, SETRANGE
Hashes, lists and setsHSET, HGETALL, LPUSH, BLPOP, SADD, SINTER
Sorted setsZADD, ZRANGE, ZINCRBY, ZRANK, ZUNION
StreamsXADD, XREADGROUP, XACK, XAUTOCLAIM
Pub/SubPUBLISH, SUBSCRIBE, PSUBSCRIBE, SPUBLISH
Transactions and scriptingMULTI, EXEC, WATCH; EVAL and FUNCTION in the Lua build
JSON documentsJSON.SET, JSON.GET, JSON.NUMINCRBY
Search and vectorsFT.CREATE, FT.SEARCH, FT.AGGREGATE, vector KNN
Time seriesTS.ADD, TS.RANGE, TS.MRANGE
Geospatial, bitmaps, HyperLogLogGEOADD, GEOSEARCH, SETBIT, PFADD, PFCOUNT
Access controlACL SETUSER, ACL LIST, AUTH, HELLO
Cluster and replicationCLUSTER 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

Point your client at KiviDB

Create a free database, change one address, and run your existing test suite against it.