Skip to content

Where the depth lives

Notes from building backend systems: what I designed, what broke, and the reasoning I wish I had written down the first time.

Topics

Four threads I keep pulling on

Not tutorials. Working notes: what I tried, what it cost, and what I would tell myself before starting.

  • AI

    Agents, LLMs, RAG and AI architecture — what I build, test and break.

    6

  • System Design

    Distributed systems, databases, messaging, caching and scaling.

    5

  • Code & Snippets

    Working references from Java, Spring, PostgreSQL, Kafka, Redis and Kubernetes.

    2

  • Architecture Lab

    Full write-ups from problem to trade-offs, with the diagrams to match.

    1

Latest

Recent engineering notes

Newest first. Some are finished thoughts, others are still moving.

  1. Architecture Lab, , 16 min read

    Designing a URL shortener

    The classic interview system, built small and measured: where the reads go, what the cache is for, and the one decision that made everything else easy.

    • Caching
    • Redis
    • PostgreSQL
    • +1 more
  2. System design, , 10 min read

    Redis caching: the invalidation I got wrong first

    Cache-aside looked simple until two writers raced. What I changed, and what I would measure before adding a cache next time.

    • Caching
    • Redis

Next

Have a system worth arguing about?

I am always up for a conversation about architecture, trade-offs, or a bug that refuses to die.

Start a conversation