98 points · by ridruejo · 4y ago · 40 comments
Or is it a purely theoretical comparison?
CREATE TABLE kv (
k TEXT PRIMARY KEY,
v TEXT NOT NULL
);
Even if sqlite is technically an RDBMS, I think it's a legitimate comparison. Is SplinterDB worth giving up sqlite's reliability and feature set?In other words, you'd use this when you just need a persistent KV store and want to build the higher level semantics according to your application's needs.
"Three novel ideas contribute to the high performance of SplinterDB: the STB-tree, a new compaction policy that exposes more concurrency, and a concurrent memtable and user-level cache that removes scalability bottlenecks. All three components are designed to enable the CPU to drive high IOPS without wasting cycles."
"At the heart of SplinterDB is the STB-tree, a novel data structure that combines ideas from log-structured merge tree and B-trees. The STB-tree adapts the idea of size-tiering (also known as fragmentation) from key-value stores such as Cassandra and PebblesDB and applies them to B-trees to reduce write amplification by reducing the number of times a data item is re-written during compaction."
I don't care if it's a research project. If it doesn't crash, doesn't corrupt data, and delivers performance, it's useful.
I'd want to see performance against Redis and KeyDB.
> I'd want to see performance against Redis and KeyDB.
I think this is apples to oranges comparison as neither of these provide durability by default and if you enable it redis had terrible performance last I checked + redis needs to fit a whole dataset in memory
Their main website is at https://splinterdb.org/ by the way, for those interested. Also no benchmarks there. :)