What maps to what: migrate from Memcached to KiviDB

What maps to what. Migrate to KiviDB: Move from Redis, Valkey, ElastiCache, Redis Cloud, Aiven, Aerospike, Hazelcast and more: getting the data out, loading i

MemcachedKiviDBNotes
Text, binary or meta protocolRESP2, RESP3Change the client library. Any Redis client works.
getGET
get k1 k2 ... (multi-get)MGET k1 k2 ...MGET returns a value or nil for every key, in order.
set k v with exptimeSET k v EX <seconds>
exptime over 30 days (a Unix time)SET k v EXAT <unix-time>See Expiry below.
addSET k v NXOnly if the key does not exist.
replaceSET k v XXOnly if the key exists.
appendAPPEND
prependNo single commandRead and write back in a WATCH/MULTI, or keep a list and LPUSH.
incr / decrINCRBY / DECRBYSee Counters below.
touchEXPIRE
gat (get and touch)GETEX k EX <seconds>
gets + casWATCH / MULTI / EXEC, or SET ... IFEQSee Compare-and-set below.
deleteDEL
flush_allFLUSHDB / FLUSHALL
Client flags (32-bit per item)No equivalentSee Client flags.
statsINFO
Slab allocator, LRU per slab classOne memory limit (maxmemory) and an eviction policy
Client-side consistent hashing over many serversOne server, or a clusterSee More than one server.
No persistenceSnapshots and an append-only fileOptional.
Strings onlyStrings, hashes, lists, sets, sorted sets, streams, JSON, search, vectorsYou can stop serializing whole objects into one string later; you don't have to.
SASL (binary protocol), or -Y auth file (text protocol, experimental)AUTH with a password, or ACL users
TLS (when built with it)The tls and full builds; always available on KiviDB Cloud