Message Queues
18 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 2.9 Kafka Topichistorical
Topics are logical message categories in Kafka. These notes connect them with partitions, internal topics, and data organization.
- 2.10 Kafka Optimizationhistorical
Kafka tuning involves batching, throughput, and bandwidth. These notes record batch, fan-in/fan-out, compression, and related references.
- 2.11 Kafka Benchmarkinghistorical
Kafka load testing involves estimating the QPS supported by a partition and machine. These notes connect publication flows with performance testing.
- 2.12 Cloud Kafkahistorical
Cloud Kafka adds access endpoints and health checks around Kafka. These notes record relationships among VIP addressing, nearby routing, and failover.
- 3. RabbitMQhistorical
This page collects RabbitMQ notes on usage, clustering, and message reliability, organizing practice and implementation topics.
- 3.1 RabbitMQ Usagehistorical
RabbitMQ producers send messages to an exchange, which routes them to queues using routing keys for consumers to receive. Code examples record that flow.
- 3.2 RabbitMQ Message Reliabilityhistorical
Messages can be lost during sending, persistence, or consumer delivery. These notes organize RabbitMQ reliability issues by those stages.
- 3.3 RabbitMQ Cluster Modeshistorical
The master node stores metadata and queue data, while the other nodes store only metadata. A consumer can send a request to any node. If the node is a slave, it forwards the request to the master for processing and then returns the result to the client.