Skip to content

Part 8 of 18

Async, Messaging & Data Processing

8 pages · 8 written

  1. 1.Asynchronous Processing and Message QueuesBasic

    Why and how to do work asynchronously: producers, consumers, acks, visibility timeouts, retries, dead-letter queues, back pressure, ordering and queue tools.

  2. 2.Pub/Sub and Event StreamingIntermediate

    Pub/sub and log-based streaming: topics, partitions, offsets, consumer groups, Kafka vs RabbitMQ, retention, replay, ordering, fan-out and cloud options.

  3. 3.Delivery Guarantees: At-Most, At-Least and Exactly-OnceAdvanced

    At-most-once, at-least-once and exactly-once delivery, idempotent consumers, dedup, ordering, and how Kafka loses messages and how to stop it.

  4. 4.Event-Driven ArchitectureIntermediate

    Building systems around events: events vs commands, notification vs state transfer, choreography vs orchestration, benefits, costs, and schema versioning.

  5. 5.Event Sourcing and CQRSAdvanced

    Storing state as an append-only event log, rebuilding by replay, snapshots, projections and read models, CQRS, combining both, and when not to.

  6. 6.Change Data Capture and the Outbox PatternIntermediate

    Stream every database change to caches, search indexes and warehouses from the database's own log, and publish events reliably with an outbox.

  7. 7.Batch vs Stream ProcessingIntermediate

    Batch jobs process bounded data on a schedule; stream jobs process events continuously. Windows, event time, watermarks, state, checkpoints, lambda and kappa.

  8. 8.Data Pipelines, Warehouses and LakesIntermediate

    How data moves from production databases into analytics: OLTP vs OLAP, ETL vs ELT, warehouses, lakes and lakehouses, Parquet, real-time OLAP and Airflow.