Free course · 10 lessons · Intermediate

Messaging, Events and Email Systems

Queues, streams and background jobs, delivery guarantees, outbox and CDC, event design, sagas, Kafka in practice, notification systems and email deliverability.

Start the course

1. Asynchronous Workflows

Queues, streams, background jobs, delivery guarantees and reliable event publishing.

  1. Queues, Streams and Background Jobs — Choose between task queues, pub/sub and event streams.
  2. Email Delivery Architecture — Send transactional and bulk email reliably and keep messages out of spam.
  3. Delivery Guarantees and Idempotent Consumers — At-most-once, at-least-once and 'effectively once' processing.
  4. Transactional Outbox and Change Data Capture — Publish events reliably together with database changes.

2. Event-Driven Architecture

Event design, sagas, Kafka in practice and operating message systems.

  1. Designing Events — Events vs commands, event shapes and schema evolution.
  2. Sagas and Long-Running Workflows — Coordinate multi-service business processes without distributed transactions.
  3. Kafka in Practice — Topics, partitions, consumer groups, keys and retention.
  4. Operating Queues and Streams — Dead-letter queues, backpressure, monitoring and replay.

3. Notifications and Email at Scale

Multi-channel notification systems and email compliance.

  1. Designing a Notification System — Route events to email, SMS, push and in-app channels with preferences and rate limits.
  2. Email Deliverability and Compliance — Keep inbox placement high and follow anti-spam and privacy rules.