Bird
0
0

When a test introduces artificial delays in communication between delivery services, what behavior should the system exhibit to maintain coordination?

medium📝 Analysis Q5 of 15
LLD - Design — Food Delivery System
When a test introduces artificial delays in communication between delivery services, what behavior should the system exhibit to maintain coordination?
AImmediately retry sending updates without delay
BDiscard delayed updates to avoid confusion
CQueue and process updates in order once communication resumes
DIgnore delayed updates and continue with the last known status
Step-by-Step Solution
Solution:
  1. Step 1: Analyze delayed communication impact

    Delays can cause out-of-order or missing updates.
  2. Step 2: Identify correct system behavior

    The system should queue updates and process them in order to maintain consistency.
  3. Final Answer:

    Queue and process updates in order once communication resumes -> Option C
  4. Quick Check:

    Proper queuing handles delays gracefully [OK]
Quick Trick: Queue delayed updates to preserve order [OK]
Common Mistakes:
  • Discarding updates leads to data loss
  • Ignoring delayed updates causes stale data
  • Retrying immediately without backoff can overload system

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More LLD Quizzes