Redirects
Scaling redirects to infinity on Vercel

Scaling redirects to infinity on Vercel

3/3/2026

What this post added

Introduced sharding of redirect data into smaller files, combined with Bloom filters for fast negative lookups. Implemented binary search over sorted keys within each shard to perform logarithmic-time lookups for individual redirects, avoiding full shard JSON parsing and improving performance under high CPU load.

Read the original post ↗