SystemKit

Notification System

Deliver push, email, and SMS reliably across providers that fail in different ways. Covers queues, retries, deduplication, user preferences, and what you can and cannot promise about delivery.

Lessons

  1. 01Define the delivery promiseName the channels, urgency, consent, and what “delivered” actually means.
  2. 02Accept an event without losing itAuthenticate producers, validate the request, persist intent, and queue work.
  3. 03Resolve who should receive whatRead current contact, consent, and template data before fanout.
  4. 04Hand off through channel workersAdapt the same intent to push, email, and SMS providers without coupling their failures.
  5. 05Recover from ambiguous failurePlan for repeated work and uncertain provider responses.
  6. 06Control when and how much to sendRespect send times, quiet hours, user frequency caps, and provider capacity.
  7. 07Measure the full delivery pathTrace an intent through queues, providers, callbacks, and user action.

Practice this chapter

  1. TaskDesign delay and gate-change alerts for an airlineApply the notification chapter to alerts where one event reaches a whole flight and an old message can send someone to the wrong gate.