All Questions
Real Time Updates easy

When a mobile app is closed/backgrounded, it cannot keep a WebSocket open. How does it receive real-time alerts (like 'New Message')?

  1. A It wakes up every second to check.
  2. B It uses magic packets.
  3. C It relies on OS-level Push Notification Services (APNS/FCM) which maintain a single persistent connection to the device.
  4. D It uses SMS.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions