IoT systems will typically be composed of many devices (such as sensors), but few gateways. This configuration makes gateways a singular point of failure. System designers should architect IoT gateways in a cluster formation to introduce higher availability and redundancy within the system.
Clustering your gateways allows the gateways to handle heavier loads, and automatically fail over if one of the gateways fails. Configure your IoT nodes to contact each of the gateways if the primary is down, or if its response rate is slower than required.
Setting up gateway clustering within wireless sensor networks is sometimes challenging, given the short range of some IoT protocols. For example, ZigBee has an operating range of ...