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.
Broker Architecture & Routing
Connection, channel, exchange, binding, queue và virtual host.
8.1.02 · RabbitMQDelivery, Ack & Confirm
Failure windows, manual ack, publisher confirm và prefetch.
8.1.03 · RabbitMQDurability, Quorum & HA
Persistence, quorum queues, leader, replication và recovery.
8.1.04 · RabbitMQRetry, TTL & DLX
Poison messages, dead-letter cycles, parking lot và replay.
8.1.05 · RabbitMQFlow Control & Operations
Backpressure, memory/disk alarms, metrics và safe tuning.
8.1.06 · KafkaPartitioned Log Architecture
Broker, topic, partition, segment, page cache và retention.
8.1.07 · KafkaReplication & Durability
Leader/follower, ISR, acks, min ISR và failure trade-offs.
8.1.08 · KafkaConsumer Groups & Rebalance
Offsets, assignment, heartbeats, lag và long processing.
8.1.09 · KafkaSemantics, Transactions & Schema
Idempotence, EOS scope, ordering và compatibility.
8.1.10 · DesignBroker Selection & Operations
RabbitMQ vs Kafka, capacity, security và incident response.