All Questions
Caching easy

Which of the following is the best candidate for caching on a Content Delivery Network (CDN)?

  1. A An internal API endpoint that returns the current real-time ledger balance for a specific authorized user account.
  2. B A static JavaScript utility library (e.g., jquery.min.js) that is fundamentally identical for every user of the system.
  3. C The dynamically generated search results page for a unique, one-time query that is unlikely to be repeated by others.
  4. D The internal database transaction log used for auditing and recovery purposes within the primary data center.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions