🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Unique ID Generator: all 15 questions

Quiz: Unique ID Generator · Question 8 of 15

Why does the ID range (ticket server) approach scale well?

Why does the ID range (ticket server) approach scale well?

  1. A.It uses random numbers
  2. B.An app server makes one network call per block of IDs and then hands them out from memory
  3. C.It needs no central service at all
  4. D.It guarantees there are never gaps
Answer & explanation

Correct answer: An app server makes one network call per block of IDs and then hands them out from memory

One call per million IDs keeps the central service far from being a bottleneck.

Can you get the rest right without peeking?

Take the timed Quiz: Unique ID Generator quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →