Skip to content
Theory · Notification system · lesson 9 of 11

What breaks and what it costs

Once the diagram is ready, the interviewer walks through it and asks what happens when each block fails. In a notification system what fails most often is what we do not own, the SMS provider. But workers, brokers and storage nodes go down too, and provider reports arrive twice. For each case you need to know what the user sees and what price you pay.

In this lesson

  • The SMS provider is down
  • A worker crashes
  • A Kafka broker fails
  • A Redis node fails
  • A Cassandra node fails
  • A report arrives twice or hours late
  • Common mistake
  • Key points