skip to content
Pierre Zemb
Home
Blog
Tags
Talks
Podcasts
Contact
⊕ dark
root@pierrezemb.fr
:
~/blog
$
./read --quorum tags/optimization
✓
quorum 2/3 · 1 document · committed
read: quorum
ls ./tags/optimization
2025-03-27
~2 min
Key design tip: reverse number scanning in ordered key-value stores
A key design trick for ordered key-value stores like HBase, FoundationDB, and RocksDB: reverse a number by subtracting it from its max value so a forward scan finds the highest one first.
revision history
© 2026 Pierre Zemb · last rev. 2026-08-14
contact
github
twitter
bluesky
linkedin
mastodon
rss