Like KeyDB? Star us on Github! X

Built for today’s modern web applications, KeyDB is both your cache and database

Fully compatible with Redis & Elasticache, KeyDB has a superior architecture that provides more throughput and offers powerful new features

Choose your flavor of KeyDB

Over 1 million downloads

KeyDB is a Faster, Drop-In Alternative to Redis

Performance is Key

Check out this live benchmark where we compare Redis6 and KeyDB performance using TLS encryption
Play Video

See a detailed blog post that walks through benchmarking with TLS encryption here

Multi-Master Mode

Multi-Master mode uses a single replicated dataset across many nodes to serve both read and write operations

Nodes can be replicated cross-region to offer submillisecond latencies to local clients

Cluster

Cluster

Cluster mode allows unlimited read and write scaling by splitting the dataset across shards.

This allows unlimited scaling, and also support high availability through replica nodes.

New Built-in Commands

# individually expire members of a set

$ keydb-cli>  SADD  myset  member1  member2  member3
OK
$ keydb-cli> EXPIREMEMBER  myset  member2  3600
OK

# schedule lua scripts to run with keydb.cron

$ keydb-cli> KEYDB>CRON mycrontask REPEAT 60000 ‘redis.call(‘INCR’, KEYS[1])
OK

# update startup.js script with your function:
 
function concat(key1, key2) {
var str1 = redis.call(‘get’, key1);
var str2 = redis.call(‘get’, key2);
return str1 + str2;
}
keydb.register(concat);
 
# load your functions and run them in KeyDB
 
$ keydb-cli> set keyA foo
OK
$ keydb-cli> set keyB bar
OK
$ keydb-cli> concat keyA keyB
“foobar”

Add Commands and functionality

Looking to Learn More About KeyDB Open Source?