Abstract:With the rapid development of Internet, especially in recent years, the development of mobile Internet is increasingly rapid. Message push, an important way for mobile client to publish information and make communication, plays a significant role in mobile Internet. MQTT protocol is one of the implementation technologies of message push in Android system with low power consumption and high scalability. In addition, it can save Internet traffic, so it has been used in many applications. Meanwhile, as a distributed message queue, RocketMQ has great advantages in distributed deployment of servers. It has the characteristics of high performance, high reliability, and high real time ability. This paper introduces the MQTT protocol and the application of RocketMQ, and implements an MQTT protocol message push server based on RocketMQ through the combination of RocketMQ and Mosquitto and its distributed deployment.