← Quiz: Design a URL Shortener: all 10 questions
Quiz: Design a URL Shortener · Question 5 of 10
What's a good way to make click tracking not slow down redirects?
What's a good way to make click tracking not slow down redirects?
- A.Update the database synchronously before redirecting
- B.Send click events to a queue and aggregate them later
- C.Don't redirect at all
- D.Store clicks in the browser only
Answer & explanation
Correct answer: Send click events to a queue and aggregate them later
Async processing keeps the redirect path fast.
Can you get the rest right without peeking?
Take the timed Quiz: Design a URL Shortener quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →