TAG
Message_Queue
18 notes
- 1.1 Message Queue Introductionhistorical
Message queues decouple producers and consumers through intermediate storage. These notes examine their need by comparing them with database polling.
- 1.2 Message Ordering in Message Queueshistorical
When insert and update messages reach different consumers, execution can differ from sending order. These notes use that example to examine message ordering.
- 2.1 Kafka Installationhistorical
Kafka package names include Scala and Kafka versions. These notes start with extraction and PATH configuration and record installation and startup.
- 2.2 Kafka Introductionhistorical
Kafka is a distributed messaging system with uses in persistent messaging and stream processing. These notes link installation, usage, architecture, and related topics.
- 2.3 Kafka Usagehistorical
These notes begin with Topic creation and record Kafka command-line usage, using partition and replica counts to examine storage and deployment.
- 2.4 Kafka Architecturehistorical
Kafka Architecture: A Producer sends messages to a specific Topic. Messages in the Topic are stored on Brokers, and a Consumer consumes messages by subscribing to a specific Topic.
- 2.5 Kafka Producerhistorical
Kafka producers send messages to brokers. These notes trace sending through the main thread, Sender, and RecordAccumulator.
- 2.6 Kafka Brokerhistorical
A Kafka broker is a server node responsible for storing messages. Brokers form a cluster, and these notes continue with roles such as the controller.
- 2.7 Kafka Consumerhistorical
Kafka consumers pull messages from brokers. These notes examine message assignment and progress management through consumer groups.
- 2.8 Kafka Message Disk Storagehistorical
Each Kafka partition has a directory with messages organized into segments and accompanying log, offset-index, and time-index files.
- 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.