Web Analytics Made Easy - Statcounter
BaseKV
Sign InSign Up

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.
Jump to supported Redis commands →

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:

PutItemGetItem

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

Quickstart docs
Strings14 commands
GETSETGETSETSETNXSETEXPSETEXAPPENDSTRLENMGETMSETINCRINCRBYDECRDECRBY
Lists11 commands
LPUSHRPUSHLPOPRPOPLRANGELLENLINDEXLSETLTRIMBLPOPBRPOP
Sets11 commands
SADDSREMSMEMBERSSISMEMBERSCARDSINTERSUNIONSDIFFSINTERSTORESUNIONSTORESDIFFSTORE
Hashes10 commands
HSETHGETHGETALLHLENHDELHEXISTSHMGETHMSETHKEYSHVALS
Sorted Sets10 commands
ZADDZREMZRANGEZSCOREZRANKZREVRANKZREVRANGEZCOUNTZINCRBYZCARD
Streams3 commands
XADDXRANGEXLEN
HyperLogLog2 commands
PFADDPFCOUNT
Key And DB Ops11 commands

Common key ops, TTL/expiration, and basic database operations.

DELEXISTSEXPIREPEXPIRETTLPTTLPERSISTEXPIREATPEXPIREATDBSIZEFLUSHDB
Transactions3 commands
MULTIEXECDISCARD
Auth And Tooling7 commands

Tooling commands are provided for common clients (best-effort/approximate).

AUTHHELLOCOMMANDCLIENTMEMORY USAGECONFIG GETCONFIG SET
Operations4 commands

Operational commands used for exports and maintenance.

STATSEXPORTIMPORTCOMPACT

How to choose

Start with Redis
If you already use Redis clients or want the most familiar KV ergonomics.
Use Memcached for legacy
If you need compatibility for older services while you migrate.
Use DynamoDB-style for simple items
If your app is wired for item get/put and you do not need full DynamoDB features.

Want a quick migration checklist? Start in the docs and test your existing client calls against a staging database.

Read docsStart a workspace
Redis, Memcached & DynamoDB Compatibility | BaseKV