MusQraTT

An MQTT Broker in Rust on Composite OS

MusQraTT Technology

Composite OS

MusQraTT is built on the Composite kernel, a microkernel developed for secure and high-performance systems. Using Composite allows us to make key system optimizations that enable MusQraTT to be highly performant, and take advantage of years of research into OS design. Composite is being developed at the GW Embedded and Operating Systems Lab.

Rust Programming Language

Using Rust programming languages has three main benefits that assist our Broker:

MQTT-SN Rust Crate

We utilized a Rust Crate, known as "mqtt-sn". This crate provides the support and requirements for an MQTT-SN system. It included the packet specifications (packet id, topic subcription, etc) as well as the functionality for encoding, decoding, and parsing the packet. This made it possible for the packets, encoded in bytes, to be sent into a UDP socket.