I want to build a backend application to push messages from server to android devices.And I found there two protocols are suit the situation.I’d like to use RabbitMQ or mosquitto server for each of them(If there is other good choices please tell me too 🙂 ).Considering about poor network situation,battery using and server performance.Which solution is suit for me ?
I also found C2DM service.But it has two problem in my situation.Firstly it only supported Android 2.2 and later versions.Secondly the service in China is not always stable.So that is why I want to build my own push service.
MQTT was explicitly built for devices with limited resources and is therefore very light on battery by comparison to other protocols. It is also designed for unreliable TCP networks. Worth taking a closer look.