HardDesign: E-Commerce System (Amazon)
Why is Redis preferred for shopping cart storage over a relational database?
— Tests your understanding of this concept.
Answer Options
ARedis supports SQL queries
BRedis is persistent by default
CRedis provides sub-millisecond latency and flexible data structures for cart operations
DRedis has better security features
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
A product has 10 units in stock. 100 users all click 'Buy' simultaneously. How do you prevent overselling?
HardWhat is an idempotency key in payment processing?
HardWhy should raw credit card numbers never be stored in your e-commerce database?
HardDuring Amazon Prime Day, your checkout service gets 10,000 orders/sec (normally 100/sec). How do you handle this?
HardHow do you handle the case where a user's payment succeeds but the order confirmation email fails to send?
Hard