advancedTop 15 System Design Questions
Design a notification system for a large-scale application (100M users).
Notification storage: Cassandra partition by (userId, type); most recent first Unread count: Redis HINCRBY notifications:{userId} total 1 Push notifications: SNS/FCM for mobile push; separate queues per channel type Real-time delivery: Redis Pub/Sub or WebSocket for in-app notifications Preference management: MongoDB for user notification preferences (complex nested) Rate limiting: Redis per-user
This is a Pro chapter
Sign in, then upgrade to Pro or Power to unlock this and the full Databases Mastery library.
Design a notification system for a large-scale application (100M users).