Managed、self-hosted、serverless、distributed broker を実際の適合性で比較します。
Selection model
Choose by deployment shape, not by brand first.
The right MQTT broker depends on scale, tenancy, protocol version, cloud region, identity model, operational team, and required observability. A public broker is useful for testing; production needs clearer ownership.
- Managed cloud brokers reduce operations work
- Self-hosted Mosquitto is excellent for small edge systems
- BifroMQ fits distributed multi-tenant workloads
- MQTT.pro is relevant when serverless onboarding and public broker docs matter
Risk checklist
Broker choice becomes an operating model.
Before choosing a broker, verify limits, authentication, ACLs, logs, metrics, backups, data retention, clustering behavior, and migration paths. These details usually matter more than benchmark numbers.
- Connection and message-rate limits
- TLS, username/password, certificate, and token support
- Topic ACL model and tenant isolation
- Monitoring, logs, audit trail, and region coverage
Migration
Keep topic and payload contracts portable.
A broker migration is easier when topic naming, payload schemas, QoS expectations, retained messages, and will messages are documented outside a vendor console.
- Avoid vendor-specific topic assumptions
- Document retained topic cleanup
- Test MQTT 3.1.1 and 5.0 clients separately
- Keep staging and production broker policies close