In this thesis work, our main goal is to improve IoT communications of an edge platform by selecting suitable solutions to work with the MQTT protocol. Our primary focus in this thesis is to investigate two quality attributes: data throughput and latency of message brokers.There are two research questions that are to be answered: how do protocols like MQTT and their architecture contribute to messaging in IoT communications? andHow to Enhance MQTT Architecture to Match the Requirements for ABB IoT Edge Platform?. This thesis work comprises a mixed-methods research methodology that includes both quantitative and qualitative phases. The quantitative phase involves experimental work on examining data throughput and latency of a message broker, while the qualitative phase includes interviews with stakeholders and literature reviews. According to the qualitative and quantitative data, we found that event-driven architecture, publisher-subscriber design pattern, and NATS message broker are suitable choices to work with the MQTT-based architecture of IoT edge platforms. Since NATS showed a decent result in terms of high throughput and low latency in comparison to other message brokers. The results of this thesis work identify the best practices of message brokers in an MQTT-based IoT platform, for software architects, specifically the ABB IoT edge platform.