Skip to content
Hard Design: 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

A Scale up the database
B Cache user preferences in Redis with 5-minute TTL
C Store preferences in the notification payload
D Only 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