Protocol Compatibility
Redis, Memcached, and DynamoDB-style
BaseKV is a cloud key-value database built to feel familiar. Use your existing Redis or Memcached clients, or integrate with a DynamoDB-style API for simple item get/put workflows. Compatibility is practical, not marketing: if you rely on a specific command or feature, validate it against your usage.
Redis clients
Keep your Redis client library and the data structures you already use. BaseKV focuses on common workflows for steady key-value storage.
- Typical structures: strings, hashes, lists, sets, sorted sets.
- Common primitives: TTL/expiration, basic batching, and publish/subscribe patterns.
- Best practice: test your exact command set in staging.
Memcached clients
Use Memcached where you have legacy cache layers, then migrate gradually. BaseKV is designed so you do not need a separate system just to keep old clients running.
- Good fit for simple get/set style workloads with expiration.
- Helpful when modern services use Redis while older services still speak Memcached.
- Best practice: validate client behavior for edge cases your app depends on.
DynamoDB-style API
BaseKV includes a DynamoDB-style API for simple item get/put flows. It is intentionally scoped and does not aim for full DynamoDB feature parity.
- Great for apps that already model data as simple key/value items.
- Useful when you want a calmer alternative to throughput math for small-to-mid workloads.
- If you need Query/Scan, GSIs, or advanced DynamoDB features, DynamoDB is still the right choice.
Supported DynamoDB-style operations
BaseKV targets a small, practical subset for item get/put workflows:
PutItemGetItemSupported Redis Commands
This is the practical command set BaseKV is designed to support for day-to-day Redis workflows. It is not 100% of Redis, and compatibility can vary by client patterns, so validate your exact usage in staging.
Strings14 commands
GETSETGETSETSETNXSETEXPSETEXAPPENDSTRLENMGETMSETINCRINCRBYDECRDECRBYLists11 commands
LPUSHRPUSHLPOPRPOPLRANGELLENLINDEXLSETLTRIMBLPOPBRPOPSets11 commands
SADDSREMSMEMBERSSISMEMBERSCARDSINTERSUNIONSDIFFSINTERSTORESUNIONSTORESDIFFSTOREHashes10 commands
HSETHGETHGETALLHLENHDELHEXISTSHMGETHMSETHKEYSHVALSSorted Sets10 commands
ZADDZREMZRANGEZSCOREZRANKZREVRANKZREVRANGEZCOUNTZINCRBYZCARDStreams3 commands
XADDXRANGEXLENHyperLogLog2 commands
PFADDPFCOUNTKey And DB Ops11 commands
Common key ops, TTL/expiration, and basic database operations.
DELEXISTSEXPIREPEXPIRETTLPTTLPERSISTEXPIREATPEXPIREATDBSIZEFLUSHDBTransactions3 commands
MULTIEXECDISCARDAuth And Tooling7 commands
Tooling commands are provided for common clients (best-effort/approximate).
AUTHHELLOCOMMANDCLIENTMEMORY USAGECONFIG GETCONFIG SETOperations4 commands
Operational commands used for exports and maintenance.
STATSEXPORTIMPORTCOMPACTHow to choose
Want a quick migration checklist? Start in the docs and test your existing client calls against a staging database.