🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.Update the database synchronously before redirecting
  2. B.Send click events to a queue and aggregate them later
  3. C.Don't redirect at all
  4. 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 →