Rohan Iyer

Blog

Where I take a break from tech projects and writing about magical stories to do both at the same time. Because software is our real world's magic system!

Aug 16, 20264,257 words21 min read

Beli System Design

An unnecessarily technical nosedive into a social media food app.

theorysystem design
Aug 10, 20261,714 words9 min read

Building a Distributed Key-Value Cache part 5/6: WAL and durability

Implementing crash safety with a write-ahead log, checkpointing, and atomic file operations.

projectskey-value cachesystems
Aug 4, 2026274 words1 min read

Visualizing the Bellman-Ford Algorithm

When Djikstra just doesn't cut it.

visualizationsdata structures and algorithms
Jul 30, 20261,405 words7 min read

Building a Distributed Key-Value Cache part 4/6: Replication

Adding replication and leader failover so one cache node can disappear without taking the data with it.

projectskey-value cachesystems
Jul 22, 20261,420 words7 min read

Building a Distributed Key-Value Cache part 3/6: Sharding

Implementing consistent hashing to shard my cache!

projectskey-value cachesystems
Jul 14, 2026971 words5 min read

What even is a production server?

Allow me to get a little carried away with what fascinates me about production servers.

theorysystems
Jul 3, 20261,722 words9 min read

Building a Distributed Key-Value Cache part 2/6: Eviction Policies

As magical as hardware may seem, even it has its limits (which get broken time and time again, mind...).

projectskey-value cachesystems
Jun 26, 20261,565 words8 min read

Building a Distributed Key-Value Cache part 1/6: CRUD

In this post, I’ll build a simple single-node KV cache with CRUD (create, read, update, delete) operations.

projectskey-value cachesystems
Jun 12, 2026744 words4 min read

Building a Distributed Key-Value Cache part 0/6: ready... set... Go!

This is my first blog post in a series about designing and developing a distributed key-value cache, but it’s also the only one that won’t go over any code related to the project.

projectskey-value cacheconcurrency