Blog

Redis.

2 posts
  1. 01

    Building a URL Shortener: Six Design Decisions and the Alternatives I Rejected (opens in a new tab)

    Part 1 · Medium

    Six decisions behind a URL shortener that runs in public, each with the alternative I rejected: a 302 rather than a 301, caching misses as well as hits, a sliding window rate limiter in Lua, and refresh tokens with reuse detection.

  2. 02

    I Built a Twitter-Style Feed to Find Out What Fan-Out Actually Costs (opens in a new tab)

    Part 2 · Medium

    Push and pull feeds built over the same data and measured. Fan-out costs about 12 microseconds per follower, a timeline entry about 80 bytes in Redis, and the read advantage was far smaller than expected.