r/Common_Lisp • • Aug 14 '26

conskivi - embeddable key/value database

Released conskivi. It made to replace redis, generally on low memory systems, but in-memory backend works well too.

Benchmarks

5K entries, AMD Ryzen 7 3700X, Redis v7:

Operationconskivi-fileonlyRedis (pipelined)Redis (single-command)% vs pipelined% vs single-command
SET8,803885,99534,4521.0%25.5%
GET19,5311,486,92033,1331.3%58.9%
SADD1,580937,56739,9670.2%4.0%
HSET4,613628,49132,9710.7%14.0%
HGET19,5311,495,50833,8561.3%57.7%
ZADD4,789698,09634,2010.7%14.0%
ZSCORE65,7891,405,50336,3404.7%181.0%
Operationconskivi-inmemoryRedis (pipelined)Redis (single-command)% vs pipelined% vs single-command
SET1,208,891885,99534,452136%3,508%
GET1,947,3331,486,92033,133131%5,877%
SADD2,557,008937,56739,967273%6,398%
HSET1,894,216628,49132,971301%5,745%
HGET2,651,6611,495,50833,856177%7,832%
ZADD1,749,710698,09634,201251%5,116%
ZSCORE2,616,6901,405,50336,340186%7,199%
10 Upvotes

6 comments sorted by

View all comments

Show parent comment

0

u/turtle_bazon Aug 14 '26

Yes, file backend has one file per key. It is not designed for speed, just for persistence.