Forwarded from Hacker News (yahnc_bot)
Twelve years of distributed SQLite https://philipotoole.com/twelve-years-of-distributed-sqlite/
Philipotoole
Twelve years of distributed SQLite – Philip O'Toole
In September 2014 I published a short post announcing rqlite. The idea was simple: take SQLite, put a Raft log in front of it, and replicate every write to a cluster so that the loss of a node did not mean the loss of the data. The source went on GitHub that…
Forwarded from Patrick 舆情发布
最近写了一个新 project:https://bbtree.xiangpeng.systems/post/
btree 毫无疑问是世界上最重要的大数据结构,但因为过于复杂,并没有像 LSM tree 这么流行。
我的观点是,高性能的数据系统是复杂度守恒的。所有高性能 btree 最终都会有一些 lsm tree的特性,所有高性能 lsm tree 都会有 btree 的影子。
区别是复杂度在何时体现:lsm tree 一开始非常简单,随着不断优化 (bloom filter, compaction, ssm tuning, row cache),各种组件独立交互,最后非常难控制。
btree 的复杂性是upfront的,如何 grow/shrink/rebalance,之后所有的优化都是在同一个框架下操作。
可以类比于 C++ vs Rust,lsm tree 就像 C++,看起来很简单,但真正能搞明白的人少之又少。 btree 就像 Rust,一旦你迈过了那个门槛,后来都是坦途。
btree 毫无疑问是世界上最重要的大数据结构,但因为过于复杂,并没有像 LSM tree 这么流行。
我的观点是,高性能的数据系统是复杂度守恒的。所有高性能 btree 最终都会有一些 lsm tree的特性,所有高性能 lsm tree 都会有 btree 的影子。
区别是复杂度在何时体现:lsm tree 一开始非常简单,随着不断优化 (bloom filter, compaction, ssm tuning, row cache),各种组件独立交互,最后非常难控制。
btree 的复杂性是upfront的,如何 grow/shrink/rebalance,之后所有的优化都是在同一个框架下操作。
可以类比于 C++ vs Rust,lsm tree 就像 C++,看起来很简单,但真正能搞明白的人少之又少。 btree 就像 Rust,一旦你迈过了那个门槛,后来都是坦途。
bbtree.xiangpeng.systems
bbtree: fastest ordered map
How bbtree, a drop-in replacement for std's BTreeMap, cuts cache misses, instructions and cache coherence traffic, and how it is kept correct.
👍2
Forwarded from Hacker News (yahnc_bot)
I Built a Stereo Vision Board for Hardware Hackers https://rootkitlabs.com/2026/10/06/i-built-a-stereo-vision-board-for-hardware-hackers/
Rootkit Labs Blog
I Built a Stereo Vision Board for Hardware Hackers
This article was written entirely by a human, for humans.
I tend to get excited about certain chips. This time, it was a microprocessor: The Rockchip …
I tend to get excited about certain chips. This time, it was a microprocessor: The Rockchip …
Hacker News
I Built a Stereo Vision Board for Hardware Hackers https://rootkitlabs.com/2026/10/06/i-built-a-stereo-vision-board-for-hardware-hackers/
Rootkit Labs Blog
5 Strategies to Sink your Hardware Startup
This isn’t a dropshipping success story, a lucrative exit, or a guide. This is a silly story documenting our failed hardware startup. It’s …