Notification Service — Multi-Channel Delivery

Notification Service — Multi-Channel Delivery An architecture diagram generated by Archify. Producer services · orders, payments · Architecture component Producer services orders, payments Notification API · validate, dedupe · Architecture component Notification API validate, dedupe Preferences · opt-outs, devices · Architecture component Preferences opt-outs, devices Templates · per locale · Architecture component Templates per locale Channel queues · push / SMS / email · Architecture component Channel queues push / SMS / email Channel workers · render, retry · Architecture component Channel workers render, retry Delivery log · status, analytics · Architecture component Delivery log status, analytics Providers · APNs, FCM, Twilio, SES · Architecture component Providers APNs, FCM, Twilio, SES Dead letters · after retries · Architecture component Dead letters after retries send event check enqueue consume render deliver record give up Legend Backend Database Message bus External

Intake

  • • Idempotency key per notification
  • • User preferences and quiet hours checked first

Delivery

  • • One queue per channel isolates slow providers
  • • Retries with backoff, then dead letters

Tracking

  • • Sent, delivered, opened events
  • • Rate limits per user and per provider