Bird
0
0

Which component is essential to automatically release holds after a timeout in a reservation system?

easy🧠 Conceptual Q2 of 15
LLD - Design — Library Management System
Which component is essential to automatically release holds after a timeout in a reservation system?
AA background scheduler or timer service
BA manual user confirmation step
CA database trigger on insert
DA load balancer
Step-by-Step Solution
Solution:
  1. Step 1: Identify how holds expire

    Holds expire automatically after a set time without user action.
  2. Step 2: Determine what triggers expiration

    A background scheduler or timer service checks and releases expired holds.
  3. Final Answer:

    A background scheduler or timer service -> Option A
  4. Quick Check:

    Hold expiration = Scheduler service [OK]
Quick Trick: Use scheduler to auto-release expired holds [OK]
Common Mistakes:
MISTAKES
  • Relying on manual user action to release holds
  • Using database triggers which don't handle timeouts well
  • Confusing load balancer role

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More LLD Quizzes