Practice
Learn
← Quit
0 / 0 correct
System Design
Hard
1 of 40
Design a URL shortener's analytics (clicks by country/day). What keeps the redirect path fast?
A
Compute analytics by scanning access logs on demand
B
Write each click to the main DB before redirecting
C
Emit click events asynchronously to a stream; aggregate them offline/near-real-time into an analytics store
D
Block the redirect until analytics are updated