Latest · Distributed systems
I Couldn't Overwhelm My Chess Server. I Could Only Overwhelm My Load Tester.
A case study in taking a toy chess engine from a single in-memory process to a sharded, fault-tolerant, distributed system in Rust - and load-testing it until the only thing left standing was the load generator.
Read the post →
Performance
The log factor isn't free: a Dijkstra rabbit hole
I went in trying to shave the log n off Dijkstra. I came out with a priority queue that's asymptotically worse and runs more than twice as fast — and a much healthier respect for the gap between big-O and a cache line.
Read the post →
AI agents
The Mathematical Backbone of AI Agents: Finite Markov Decision Processes
The mathematics behind how AI agents decide and learn.
Aritro Roy and Kiran Ghumare
Read the post →