MQTT
medium 32 minMQTT is a small publish/subscribe protocol for devices on weak networks.
Where it shows up
The same pattern appears across everyday software.
AWS IoT Core
A managed broker that speaks MQTT 3.1.1 and 5 over TLS and WebSocket, with QoS 0 and 1, rules that forward messages and device certificates.
Home Assistant
Its MQTT integration can discover devices on topics under `homeassistant`, and publishes `online` and `offline` to `homeassistant/status` as its birth and last will messages.
Facebook Messenger, 2011
The first Messenger app kept an MQTT connection open and often delivered from phone to phone in hundreds of milliseconds, where it had taken several seconds before.
Pipelines and utilities
The first use: readings from remote sites over satellite links, where each byte and each bit of battery counts.
Factories
Machines publish to a broker on site. Dashboards and alarms subscribe, and a bridge forwards a part to the cloud.
Vehicles and trackers
A vehicle goes through tunnels. Its session and QoS 1 cover the gap, and the last will marks it offline. See [location in ride hailing](/learn/system-design/uber-lyft).