May 2026
25 Mon
26 Tue
27 Wed
28 Thu
29 Fri 09:00 AM – 06:00 PM IST
30 Sat 09:00 AM – 06:00 PM IST
31 Sun
sarthak makhija
@sarthak_makhija
Submitted Apr 25, 2026
In distributed systems engineering, a design that is “correct on paper” is only the beginning; the real challenge is making it “fast in reality.” This session offers a transparent post-mortem of the architectural assumptions we made while building a distributed key-value store from scratch in Go, and why several of those assumptions collapsed under production-grade pressure. We’ll move beyond high-level design to deconstruct the hidden performance bottlenecks within standard distributed patterns, exploring how generalized 2-Phase Commit (2PC) became a crippling bottleneck, why our waiting list built on Go’s standard mutex became a global point of contention, and why our initially “standard” transactional steps led to redundant network and disk I/O that unexpectedly doubled our latency.
By deconstructing these failures, we provide a practical roadmap for building distributed stateful systems that perform as well in production as they do on paper. We will discuss our remediation journey: from bypassing protocol stages for localized transactions to implementing storage-layer batching and eliminating redundant network calls to local nodes. Attendees will leave with a clear understanding of how to bridge the gap between theoretical correctness and reality in high-scale distributed databases.
This session is designed for Backend Engineers, Systems Designers, and SREs who are interested in database internals and the practical performance trade-offs inherent in building and scaling distributed stateful systems.
Sarthak Makhija is a Principal Architect at Caizin specializing in storage engines and distributed systems. While at ThoughtWorks, he led the development of a strongly consistent, distributed key-value storage engine in Go from scratch.
He is a contributor to the book Patterns of Distributed Systems and writes about database internals on his blog, tech-lessons.in.
Sarthak also conducts workshops on the “Internals of key-value storage engines: LSM-trees and beyond” and Rust.
Hosted by
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}