Skip to content
Hard Design: E-Commerce System (Amazon)

What approach prevents a user from seeing stale inventory counts in the product listing?

— Tests your understanding of this concept.

Answer Options

A Always query live inventory DB for every page load
B Cache inventory with short TTL (30 seconds); show 'In Stock' vs 'Out of Stock' not exact count
C Never show inventory count
D Refresh inventory count only on checkout

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: E-Commerce System (Amazon) questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: E-Commerce System (Amazon) topic (System Design Cases).

More Design: E-Commerce System (Amazon) Questions