Mosquitto Clustered Architecture for High Availability(HA) and Load Balancing(LB) • Bridge Cluster – Set of active bridge nodes, broadcast incoming/published messages to remote nodes. • Remote Cluster – Set of active remote nodes, Each remote node sends incoming messages to all subscribers of that particular node. • HA Proxy Cluster – Set of HA proxy nodes in master-slave mode. Master is an active node handles all the requests in roundrobin fashion. Incase master goes down passive slave node gets elected as master. • Keepalived – Linux library runs as a daemon in both active and passive haproxy nodes. It performs failover on transport layer. • Virtual IP – Private network floating IP gets rotated in HA proxy cluster. • Public IP – Public...
Mosquitto Clustered Architecture for High Availability(HA) and Load Balancing(LB)