Formal Methods for Critical Systems: From Models to Practice
Connecting requirements, state machines, model checking, and implementation evidence.
Engineering notes by Haili Zhang
Practical writing about Rust, distributed systems, storage engines, and the data structures beneath them.
Connecting requirements, state machines, model checking, and implementation evidence.
Following a query through analysis, planning, processors, and MergeTree storage.
Mergeable states, SQL semantics, snapshot consistency, and retry-safe execution.
An event-driven HTTP filter with explicit lifecycle and failure policies.
Separating local durability, replicated commitment, and safe log retention.
Rings, buffer ownership, cancellation, backpressure, and kernel features.
Naming the exact copies avoided at language, memory, and kernel boundaries.
Composable components and deliberate choices between static and dynamic dispatch.
A practical retrospective across services, command-line tools, and data systems.
Ownership, types, and explicit error handling as tools for controlling complexity.
Write-ahead logs, low-water marks, replication logs, and recovery.
A project-driven route through algorithms, patterns, and complete systems.
Assembling the storage engine and examining its production trade-offs.
Implementing the MemTable and SSTable components in Rust.
Memtables, immutable tables, compaction, and the write path.
Decentralized information sharing, failure detection, and convergence.
Compact probabilistic summaries for large datasets with bounded error.
Traffic channels and pre-release testing for microservice platforms.
No posts match that search.
SoftWheel is a collection of implementation notes from rebuilding core systems and data structures. The goal is to expose the decisions that polished libraries usually hide.
Topics include storage engines, concurrency, distributed protocols, Rust, and production engineering.