- Backend engineer
- Junior
- 50 min
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.
Skills and rubricHarbor redirect path
- Trace creation and a cache miss to a durable mapping keyed by code.
- Calculate 100 average and 1,000 peak redirects per second from the supplied traffic.
- Reject an expired mapping before redirecting and preserve an existing code on collision.