Writing

I write about backend engineering, databases, networking, and operating systems.

  1. 14 min read

    Building a Transport Protocol on Top of UDP

    Reliable transport, congestion control, flow control, and connection management in AeroUDP, a TCP-like protocol built over UDP in async Rust.

  2. 19 min read

    OFFSET vs cursor pagination

    What the database reads for each page, how a cursor changes the query, and what happens when rows change between requests.

  3. 19 min read

    How Nginx routes a request

    Location matching, rewrites, proxy headers, and the configuration that decides which backend handles a request.

  4. 9 min read

    Scheduling and paging in SimuKernel

    CPU scheduling, memory management, and process control in SimuKernel, an educational operating system simulator.

  5. 7 min read

    Three ways to write ASP.NET Core middleware

    Inline delegates, convention-based middleware, and IMiddleware, with examples and dependency lifetime notes.

  6. 7 min read

    Clustered vs. non-clustered indexes

    How clustered and non-clustered indexes store data, how B-trees work, and what that means for reads and writes.

  7. 7 min read

    Where boxing allocates in C#

    What boxing and unboxing do in C#, where allocations happen, and how typed collections avoid boxing.