RocketMQ Transaction, Batch, and Delayed Messaging Implementation
Transactional Messaging
Core Concepts
Transactional messaging in RocketMQ implements the local transaction table pattern from distributed systems, substituting message middleware for database operations while handling status verification automatically.
Unlike Apache Kafka's transaction implementation focused on Exactly-Once semantics for stream ...
Posted on Sun, 23 Aug 2026 16:46:26 +0000 by shmeeg
Handling Signals and Message Queues for Inter-Process Communication
Handling Standard Signals
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
void signal_handler(int sig_num) {
if (sig_num == SIGINT) {
printf("Ctrl+C signal received\n");
}
}
int main(void) {
// Set SIGINT to be ignored
if (signal(SIGINT, SIG_IGN) == SIG_E ...
Posted on Tue, 04 Aug 2026 16:58:24 +0000 by phyzar
Signal Handling and Message Queue Communication in C
Basic Signal Handling
#include <signal.h>
#include <unistd.h>
#include <stdio.h>
void signal_handler(int signum) {
if (signum == SIGINT) {
printf("User pressed CTRL + C\n");
}
}
int main() {
// Capture SIGINT signal
if (signal(SIGINT, signal_handler) == SIG_ERR) {
perror("signal ...
Posted on Sat, 11 Jul 2026 17:27:23 +0000 by Phoenix~Fire
Orchestrating Distributed Systems with Apache Zookeeper and Kafka
Overview of Apache Zookeeper
Apache Zookeeper is a high-performance coordination service for distributted applications. It exposes a simple set of primitives—often used to implement higher-level services for synchronization, configuration maintenance, and groups/naming. It is designed to be highly available and reliable, forming the backbone of ...
Posted on Sat, 06 Jun 2026 18:34:36 +0000 by suttercain
Ensuring Reliable Message Delivery in RabbitMQ
RabbitMQ is a robust and high-throughput message broker widely adopted in distributed systems for asynchronous communication, offering flexibility and scalability. However, achieving reliable message delivery is a critical challenge.
Several factors can compromise message reliability:
Connection failures between the producer and RabbitMQ.
Mess ...
Posted on Sat, 09 May 2026 22:17:48 +0000 by jazappi