Show HN: BTreePlus – A cache-optimized B+Tree engine for .NET faster than SQLite
Mood
informative
Sentiment
positive
Category
startup_launch
Key topics
B+Tree
Database
Performance Optimization
.NET
SQLite
The goal wasn’t to build a general database but to explore how far a minimal, modern B+Tree design can go when tuned for CPU-cache behavior, small fixed-size pages, and predictable read/write paths.
In my benchmarks (linked in the repo), BTreePlus shows better throughput than SQLite and Postgres for specific key-value style workloads—mainly:
- single-key point lookups
- sequential inserts with small pages
- read-heavy scenarios without complex SQL layers
I’d love feedback from database and systems engineers on:
- the page layout / split-merge logic
- the latching model
- whether the design avoids classic B-Tree pitfalls
- benchmarking methodology (happy to adjust or rerun)
Discussion Activity
No activity data yet
We're still syncing comments from Hacker News.
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
Discussion hasn't started yet.
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.