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