RabbitMQ Production-grade Reliability, Flow Control, and Clustering Techniques
1. Guaranteed Delivery
RabbitMQ offers two callbacks to ensure a message is never lost on its way from publisher to consumer.
Checkpoint
Callback
Trigger
producer → exchange
ConfirmCallback
broker ack/nack
exchange → queue
ReturnCallback
unroutable message
1.1 Publisher Confirms (ConfirmCallback)
Spring XML snippet
<rabbit:connec ...
Posted on Mon, 29 Jun 2026 16:49:03 +0000 by jimbo_head
Building a High Availability Cluster with HAProxy and Keepalived
Setting up a highly available load balancing cluster requires two primary components: HAProxy for traffic distribution and Keepalived for failover management. This setup uses two virtual machines running CentOS 7.Environment PreparationInstall the EPEL repository and required packages on both nodes:yum install -y epel-release
yum install -y hap ...
Posted on Sat, 27 Jun 2026 16:14:40 +0000 by xenoalien
Deploying an EMQX Cluster with HAProxy Load Balancing
Prerequisites
Dowlnoad the required installation packgaes and upload them to your servers.
Prepare three CentOS 7 virtual machines or physical servers.
Configuring the EMQX Cluster
On each of the three nodes, navigate to the etc directory inside the extracted EMQX folder and edit emqx.conf:
cluster.discovery = static
cluster.static.seeds = em ...
Posted on Fri, 26 Jun 2026 16:45:21 +0000 by Fly
Advanced HAProxy Configuration, Deployment, and Dynamic Management
HAProxy Overview and Load Balancing Algorithms
HAProxy is a high-performance, open-source load balancer and proxy server designed to handle high traffic volumes while ensuring high availability. It operates effectively at Layer 7 (Application) and Layer 4 (Transport), allowing seamless integration into existing architectures to protect backend ...
Posted on Sun, 17 May 2026 16:45:08 +0000 by slicer123