HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
topling
toplingdb
C++2025–2025
topling / toplingdb

toplingdb

ToplingDB is a cloud native LSM Key-Value Store with searchable compression algo and distributed compaction

3Distinct people
3Mentions
0Explicit recommenders
1KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

ToplingDB is a cloud native LSM Key-Value Store with searchable compression algo and distributed compaction

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour3 dated mentions

Observed mentions: 2025-07-01 10:07:59 UTC to 2025-07-01 18:47:01 UTC.

012025-07-01 10:00:00 UTC to 2025-07-01 11:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJul 1, 10:002025-07-01 11:00:00 UTC to 2025-07-01 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-01 12:00:00 UTC to 2025-07-01 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-01 13:00:00 UTC to 2025-07-01 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-01 14:00:00 UTC to 2025-07-01 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJul 1, 14:002025-07-01 15:00:00 UTC to 2025-07-01 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-01 16:00:00 UTC to 2025-07-01 17:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-07-01 17:00:00 UTC to 2025-07-01 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-01 18:00:00 UTC to 2025-07-01 19:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJul 1, 18:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jul 1, 10:002025-07-01 10:00:00 UTC2025-07-01 11:00:00 UTC110
Jul 1, 11:002025-07-01 11:00:00 UTC2025-07-01 12:00:00 UTC000
Jul 1, 12:002025-07-01 12:00:00 UTC2025-07-01 13:00:00 UTC000
Jul 1, 13:002025-07-01 13:00:00 UTC2025-07-01 14:00:00 UTC000
Jul 1, 14:002025-07-01 14:00:00 UTC2025-07-01 15:00:00 UTC000
Jul 1, 15:002025-07-01 15:00:00 UTC2025-07-01 16:00:00 UTC000
Jul 1, 16:002025-07-01 16:00:00 UTC2025-07-01 17:00:00 UTC101
Jul 1, 17:002025-07-01 17:00:00 UTC2025-07-01 18:00:00 UTC000
Jul 1, 18:002025-07-01 18:00:00 UTC2025-07-01 19:00:00 UTC101

What Hacker News says

3 sources
A distributed KV-store plus a relational layer makes it a competitor to NewSQL databases like TiDB, which is also based on Facebook's RocksDB. It doesn't look like it's very actively developed: https://github.com/topling/toplingdb/pulse/monthly To the OP who's developing it: I suggest polishing your README. Provide a simple installation tutorial, maybe a trial offering like tidbcloud.com, and comparative benchmark results, since you advertise your performance.
In Show HN: ToplingDB - A Persistent Key-Value Store for External Storage

Show HN: ToplingDB - A Persistent Key-Value Store for External Storage

As the creator of TerarkDB (acquired by ByteDance in 2019), I have developed ToplingDB in recent years. ToplingDB is forked from RocksDB, where we have replaced almost all components with more efficient alternatives(db_bench shows ToplingDB is about ~8x faster than RocksDB): * MemTable: SkipList is replaced by CSPP(Crash Safe Parallel Patricia trie), which is 8x faster. * SST: BlockBasedTable is replaced by ToplingZipTable, implemented by searchable compression algo, it is very small and fast, typically less than 1μs per lookup: * Keys/Indexes are compressed using NestLoudsTrie(a multi-layer nesting LOUDS succinct trie). * Values in a SST are compressed together with better zip ratio than zstd, and can unzip by a single value at 1GB/sec. * BlockCache is no longer needed, double caching(BlockCache & PageCache) is avoided O
Read the rest
ther hotspots are also improved: * Flush MemTable to L0 is omited, greatly reducing write amp and is very friendly for large(GB) MemTable * MemTable serves as the index of Key to "value position in WAL log" * Since WAL file content almost always in page cache, thus value content can be efficiently accessed by mmap * When Flush happens, MemTable is dumpped as an SST and WAL is treated as a blob file * CSPP MemTable use integer index instead of physical pointers, thus in-memory format is exactly same with in-file format * Prefix cache for searching candidate SSTs and prefix cache for scanning by iterators * Caching fixed len key prefix into an array, binary search it as an uint array * Distributed compaction(superior replacement to rocksdb remote compaction) * Gracefully support MergeOperator, CompactionFilter, PropertiesCollector... * Out of the box, development efforts are significantly reduced * Very easy to share compaction service on spot instances for many DB nodes Useful Bonus Feature: * Config by json/yaml: can config almost all features * Optional embeded WebView: show db structures in web browser, refreshing pages like animation * Online update db configs by http MySQL integration, ToplingDB has integrated into MySQL by MyTopling, which is forked from MyRocks with great improvements, like improvements of ToplingDB on RocksDB: * WBWI(WriteBatchWithIndex): like MemTable, SkipList is replace with CSPP, 20x faster(speedup is more than MemTable). * LockManager & LockTracker: 10x faster * Encoding & Decoding: 5x faster * Others .... MyRocks has many disadvantages compared to InnoDB, while MyTopling outperforms InnoDB at almost all aspect - excluding feature differences. We have create ~100 PRs for RocksDB, in which ~40 were accepted. Our PRs are mostly "small" changes, since big changes are not likely accepted. ToplingDB has been deployed in numerous production environments. Welcome every one using ToplingDB & MyTopling, and discuss in https://github.com/topling/toplingdb/discussions
73 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.