An expiring link service
Harbor Links lets event organizers create short links that stop redirecting at an expiry time. Design creation and redirects for 8.64 million redirects and 86,400 new links per day, a peak ten times average, and 180-day retention. Custom domains and detailed analytics are out of scope.
Rubric and preparationWhat a mid answer covers · 5 lessons to prepare
Mid standard
- Enforce code uniqueness at insertion, retry collisions and distinguish repeated creation requests.
- Bound cache timeouts and fallback concurrency so a cache failure can't exhaust the durable store.
- Explain a storage choice with its lost capability and monitor redirect tail latency.