The Scheduler: Fairness on a Finite Machine
Sixty processes want the CPU. Four cores exist. The scheduler decides who runs, for how long, and what happens when everyone wants more. This post names the invariant it must keep.
I’m Shreyas, a co-founder and software engineer.
Curious about systems, drawn to Rust, and always
figuring something out.
What implementing TOON’s Rust parser taught me about the promises hiding in every format.
Read the essay ↗Sixty processes want the CPU. Four cores exist. The scheduler decides who runs, for how long, and what happens when everyone wants more. This post names the invariant it must keep.
The OS has a page cache. The database ignores it and builds its own. This post explains why — and how the buffer pool decides what stays in RAM.
A process is not a program. It's the kernel's most fundamental illusion — a private machine that never existed. This post opens the box.
Technical lead & architect
Architected and built TOON’s Rust implementation, including its parser, serializer, Serde API, and command-line tools.
Technical lead & architect
Led architecture and engineering work on blockchain data infrastructure, including the Cosmos SDK migration, validator rewards, and protocol security improvements.
Technical lead & architect
Architected and built the CLI and deployment workflows for blockchain nodes, smart contracts, and BTP/IBC bridges.
Technical lead & architect
Shaped the desktop architecture and built tools for music producers, including project search, key and tempo matching, waveform trimming, and missing-sample detection.
Informal notes, interests, and life beyond the projects. The quieter side of this site, with room to grow.
The notebook →