HozonDB: Transactions, Rollback, and the Group Commit It UnlockedThe Problem Before this milestone, every statement in HozonDB was its own unit of work. INSERT, UPDATE, DELETE — each one logged to WAL, fsynced, applied, done. There was no way to say "these three stAug 11, 2026·15 min read
Understanding Pin<T> in RustWhile exploring the Apache DataFusion codebase, I came across this line: Box::pin(opt.run()).await I understood Box and .await, but Pin was still fuzzy for me. So I decided to dig deeper and write about it. Here's what I learned. First: What Does "M...Dec 23, 2025·3 min read
Understanding Arc<Mutex<T>> From First PrinciplesYou're building a web server in Rust that runs on multiple threads, which makes things faster. But this introduces challenges: What happens when multiple threads need access to a single resource or data? If the data only needs to be read, that seem...Dec 16, 2025·5 min read
What is Throttling and Debouncing?Throttling and debouncing are techniques used to regulate or control the rate at which a function is executed. This is to ensure the system is not overwhelmed when a function is repeatedly executed. Scenarios where throttling or debouncing can be app...Jan 17, 2024·4 min read