摘要:In the messaging server where many devices send and receive messages, the ability to monitor the performance of the server and characteristics of the messaging is essential. This paper decides MQTT as the messaging protocol, and analyzes and defines key parameters that show the performance of the MQTT server and the characteristics of MQTT communication like MQTT message topics. In addition, this paper built an MQTT messaging server for testing by using Mosquitto as a MQTT broker and a separate monitoring system to monitor defined key parameters. In this paper, the system for monitoring the performance of the MQTT messaging server was built into three parts: a dashboard server, a monitoring application, and a test load generator. The test load generator is configured to generate a large amount of MQTT message load using 11 Raspberry PIs. The monitoring application was developed and installed on the MQTT server computer and periodically stored the server's performance and the MQTT message-related parameters processed by Mosquitto in the dashboard server's DB. The dashboard server was developed as a web server and implemented so that the administrator can view the data stored in the DB through a web browser in real time. Through experiments that generate various loads in the test load generator, it has been confirmed that the monitoring system operates normally. The monitoring system built in this paper is expected to be a good model of the monitoring system to be built together when developing an MQTT-based messaging server.