Finished my article on how database replication works
I tried to explain the principles behind replication while touching on a wide range of topics (physical vs logical replication, replica lag, replication slots, sync vs async replication, failovers, etc)
“Probably correct code” is actually more accurate marketing for a lot of formal methods work than whatever else folks are saying about “Claude, reimplement this in Lean”-style ‘Formal Methods’.
I really enjoyed my talk with @thegeeknarrator last week -- I got to go deep on query execution, and discuss many great things happening in the ecosystem. The intro / info overlays add value, rather than distract, and his voice adds a touch of gravitas https://t.co/y2wiFa3s10
Very cool project! Git servers are turning into distributed databases: Raft, S3, immutable layers, etc.
I did a double take: Enroute uses TiKV's raft-rs for its root Raft group, and raft-engine for log storage. 😄
Database infrastructure keeps finding new jobs. 😂
We just built the most scalable Git server out there: 7,600+ concurrent pushes/s per repo at millisecond latency.
Powered by Raft and S3, designed like a modern database.
Today we're making it open source by releasing Enroute 0.3.0.
Read the write-up: https://t.co/y9W7YLN148
For example, @TigerBeetleDB’s simulator has knobs for an extensive list of adversarial events:
Packet loss, duplication, partitions, misdirected writes, corrupted WAL headers, etc.
Thinking from first principles about what can go wrong is how you raise the ceiling.
Another database business question is whether an ISV should start with an OLAP DBMS then add OLTP, or start with an OLTP DBMS then add OLAP.
‣ @ClickHouseDB, @Snowflake, @databricks are doing OLAP→OLTP.
‣ @supabase, @MongoDB, @PlanetScale(?) are doing OLTP→OLAP.
#nix (2006): content-addressed derivations, still experimental.
#bazel (2006): content-addressed actions, in production for 20 years.
Who invented it first? 🥸
https://t.co/FyZudeDbeI
Is caching cope?
Both yes and no.
But I do believe that the answer to (distributed) caching should be 'demand a better database' much more often than it is.
Let's break it down a bit.
something that I think about a lot, where AI and programming is concerned, is that the hot new interest in formal methods is only valuable if the things being proven are known and understood by the programmers using it
@ApacheDataFusio San Francisco Meetup Nov 10: https://t.co/fMDt1xcae3. I will be talking about Advancing the State of the Art of Apache Parquet Readers
waiting for @ceo_clickhouse to join the chat.
and then, PM for BigQuery, PM for MSFT Fabric
and then enter @ajassy to discuss how its all just S3 buckets and EC2 compute any way.
all the query engines running against S3 Iceberg.
Thorough work on optimizing + testing low level data structures for modern servers. It’s refreshing to see bbtree optimized cache misses, CPU instructions, and even cache coherence traffic for multi-core systems.. And the section about testing & verification is awesome too.
I built bbtree, the foundation of databases and filesystems, and the fastest concurrent btree.
Code: https://t.co/CWpHJ7c5Bj
Blog post & demo: https://t.co/xRrdiPcgbz
For io_uring nerds...
uringscope: eBPF tracer and analyzer for io_uring. Reconstructs per-request latency, io-wq punts, and batching from kernel tracepoints, then names the problem and suggests a fix.
https://t.co/hzXyjbu3ov
New blog post: Animations for System Builders, talking about visualizing metastability, consensus, and other subtle system behaviors.
https://t.co/ZSHoffYmrO