sanskar.

The writing

Writing

Deep dives on systems and AI, the kind of thing I wish existed when I was figuring it out. Mostly evergreen, occasionally opinionated.

  • 01 Building an MCP server from scratch

    What the Model Context Protocol actually is, the three primitives that matter, and how to expose real tools to an LLM without hand-rolling an orchestration loop.

  • 02 Writing an LSM-tree in Go

    Why write-heavy databases turn random writes into sequential ones, plus memtables, SSTables, Bloom filters, and the compaction trade-off, built from scratch to actually understand it.