A barebone, high-performance MQTT broker for Node.js that runs on any stream server.
Aedes is a lightweight, high-performance MQTT broker written in Node.js. It enables real-time communication between devices and applications using the MQTT protocol, commonly used in IoT and messaging systems. It solves the need for a fast, embeddable broker that can scale with clustering and custom persistence.
Node.js developers building IoT platforms, real-time messaging systems, or embedded MQTT brokers that require high performance and customization.
Developers choose Aedes for its barebone design, extensibility via plugins, and benchmark-proven performance over alternatives like Mosca. It supports clustering, multiple transports, and integrates seamlessly into existing Node.js ecosystems.
Barebone MQTT broker that can run on any stream server, the node way
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Benchmarks in the README show Aedes outperforms Mosca with higher message throughput, e.g., 45,896 msg/sec vs. 18,926 msg/sec in clustered setups.
Supports extensible middleware for persistence, authentication, and messaging, with plugins like aedes-persistence-redis and mqemitter-redis for customization.
Enables high availability through clustering with persistence backends like Redis and MongoDB, allowing distributed deployments as detailed in the Clusters section.
Works over TCP, SSL/TLS, and WebSocket connections, making it versatile for different network environments and real-time applications.
The README explicitly states MQTT 5.0 is not supported yet, limiting access to newer protocol features that competitors may offer.
Clustering requires external databases and careful configuration of persistence and emitter plugins, adding operational overhead and potential points of failure.
As a minimalistic library, it lacks built-in features like a management interface or advanced monitoring, necessitating additional development effort.