Discussion about this post

User's avatar
Chris Tottman's avatar

The tiny world of small urls. It's never been more important ✨ space & attention is scarce ...

Expand full comment
Hodman Murad's avatar

Wow, Jakob. I really enjoy how thorough this was.

The event-storming session with sticky notes is a great touch. It’s a perfect example of how starting with the why (links as signals of attention) and the domain events naturally leads you to an event-driven, microservices architecture, rather than just forcing that pattern because it's trendy.

One thing I’m really curious about that wasn't fully addressed: cache invalidation for analytics. You mention updating a counter in the main ShortLinks table for the MVP. At high scale, that counter increment on every redirect could become a brutal write hotspot for a viral link, even with an async process. I’ve seen teams handle this by using probabilistic counters (like HyperLogLog for uniques) or a separate, write-optimized counters table that gets batched and merged into the main record later.

Expand full comment
2 more comments...

No posts