Tagged articles

base62 encoding

2 articles · Page 1 of 1
dbaplus Community
dbaplus Community
Oct 24, 2026 · Backend Development

System Design: Building a Scalable URL Shortener from Requirements to Base62 Keys

This article walks through a system design interview for a URL shortener, covering requirements analysis, capacity estimation (20K read QPS, 15TB storage), API design, NoSQL data modeling, key generation via auto-increment ID with base62 encoding, hash-based partitioning, Redis caching with LRU eviction, load balancing strategies, and lazy expiration cleanup.

Redis cachingURL shortenerbase62 encoding
0 likes · 25 min read
System Design: Building a Scalable URL Shortener from Requirements to Base62 Keys
Architect Practice
Architect Practice
Apr 7, 2026 · Backend Development

The 8 Characters in a Text Message Reveal Hidden Challenges in Short‑Link System Design

This article walks through the end‑to‑end design of a lightweight short‑link service, covering why short links are needed, the choice of 302 redirects, key‑generation strategies (MurmurHash vs ID‑based base62), caching layers, security threats, scaling techniques, and practical pitfalls, all illustrated with concrete code and benchmark numbers.

base62 encodingcachingdistributed ID
0 likes · 25 min read
The 8 Characters in a Text Message Reveal Hidden Challenges in Short‑Link System Design