System Requirements
Hardware
Hardware requirements for Eclipse Mosquitto can vary depending on the client connections and message rates expected. The minimum specification below is for a low power device supporting 10s of clients with a low message rate. The recommended specification is for a device capable of supporting 10,000s of clients with reasonable message rates. The "with stream processing" specification includes extra RAM and storage for stream processing support.
Minimum | Recommended | Recommended (with stream processing) | Comment | |
---|---|---|---|---|
RAM | 128MB | 4GB | 16GB | |
CPU | 1 core 32-bit ARM | Recent 4+ core AMD/Intel | Recent 4+ core AMD/Intel | |
Storage | 20MB | 200MB | 40GB |
Software
This section describes the software requirements for Mosquitto as well as the ports that need to be available.
Operating Systems
Eclipse Mosquitto is available natively on Linux, Windows, and other Unix-like systems, and through Docker.
On Windows, a Docker installation gives the best performance.
Docker
The minimum Docker version is 19.03.
Docker Compose
The minimum Docker Compose version is 3.8.
Ports
The table below lists the network services and ports exposed by Mosquitto. All ports listed are the default ports and can be disabled or configured to run on different ports. It is recommended that only encrypted connections are used.
Port | Description |
---|---|
1883 | Unencrypted MQTT port |
8883 | Encrypted MQTT port |
443 | Encrypted MQTT port over WebSockets |