Part 08 · Theory Map · 8.1

Kiến trúc RabbitMQ và Kafka

Đọc architecture trước client API: RabbitMQ định tuyến delivery vào queue; Kafka duy trì partitioned log để nhiều consumer đọc theo offset.

Learning path: RabbitMQ routing → delivery → reliability → retry → operations; Kafka log → replication → consumer groups → semantics/schema; cuối cùng so sánh workload và production trade-offs.
8.1.01 · RabbitMQ

Broker Architecture & Routing

Connection, channel, exchange, binding, queue và virtual host.

8.1.02 · RabbitMQ

Delivery, Ack & Confirm

Failure windows, manual ack, publisher confirm và prefetch.

8.1.03 · RabbitMQ

Durability, Quorum & HA

Persistence, quorum queues, leader, replication và recovery.

8.1.04 · RabbitMQ

Retry, TTL & DLX

Poison messages, dead-letter cycles, parking lot và replay.

8.1.05 · RabbitMQ

Flow Control & Operations

Backpressure, memory/disk alarms, metrics và safe tuning.

8.1.06 · Kafka

Partitioned Log Architecture

Broker, topic, partition, segment, page cache và retention.

8.1.07 · Kafka

Replication & Durability

Leader/follower, ISR, acks, min ISR và failure trade-offs.

8.1.08 · Kafka

Consumer Groups & Rebalance

Offsets, assignment, heartbeats, lag và long processing.

8.1.09 · Kafka

Semantics, Transactions & Schema

Idempotence, EOS scope, ordering và compatibility.

8.1.10 · Design

Broker Selection & Operations

RabbitMQ vs Kafka, capacity, security và incident response.