All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Register

Login


All New Register Login

All gists matching topic interview

Recently created
Least recently created
Recently updated
Least recently updated

linkjobai / System Design Interview: Designing a URL Shortener

0 likes
0 forks
1 files
Last active 5 days ago
Interview prep notes
interview

System Design Interview: Designing a URL Shortener

The URL shortener (think bit.ly) is a classic warm-up design question. Here's a structure that fits in 35 to 45 minutes.

Requirements

  • Functional: create a short link for a long URL; redirect short to long; optional custom alias and expiry.
  • Non-functional: very read-heavy (often 100 reads per write), low-latency redirects, links must not collide.
  • Rough scale: 100M new links a month means about 40 writes a second and 4,000 reads a second.
Newer Older

Powered by Opengist ⋅ Load: 30ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文