HardDesign: Notification System

A notification system sends 1,000 notifications/sec. Each notification requires one database read for user preferences. How do you avoid overloading the database?

Tests your understanding of this concept.

Answer Options

AScale up the database
BCache user preferences in Redis with 5-minute TTL
CStore preferences in the notification payload
DOnly check preferences for some notifications

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: Notification System questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: Notification System topic (System Design Cases).

More Design: Notification System Questions