Bird
0
0

How can combining entry and exit flow with caching improve system performance in a content delivery network (CDN)?

hard🧠 Conceptual Q9 of 15
LLD - Design — Parking Lot System
How can combining entry and exit flow with caching improve system performance in a content delivery network (CDN)?
AEntry flow bypasses cache, exit flow stores all data in database
BEntry flow caches requests, exit flow caches responses to reduce latency
CExit flow caches requests, entry flow caches responses
DCaching is irrelevant to entry and exit flows
Step-by-Step Solution
Solution:
  1. Step 1: Understand caching roles

    Entry flow caching can quickly serve repeated requests; exit flow caching stores responses to reduce repeated processing.
  2. Step 2: Apply to CDN context

    CDNs use caching at entry and exit to reduce latency and load on origin servers.
  3. Final Answer:

    Entry flow caches requests, exit flow caches responses to reduce latency -> Option B
  4. Quick Check:

    Caching at entry and exit improves performance [OK]
Quick Trick: Cache both requests and responses for speed [OK]
Common Mistakes:
MISTAKES
  • Reversing cache roles
  • Ignoring caching benefits
  • Assuming caching only at database

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More LLD Quizzes