android – GCM XMPP CCS vs MQTT
We need machine communication through our server
We initially planned to use the mqtt rabbit MQ adapter to queue the published messages from the client, process the messages in the server and publish them back to other subscriber sets
GCM supports upstream messages through XMPP CCS and can also be implemented through GCM itself, because GCM does not need to worry about maintaining a persistent TCP connection with the server, and it reduces the workload of the server and client
Now, what design and technical limitations should be considered when selecting mqtt with GCM?
resolvent:
GCM supports HTTP and XMPP, but does not support mqtt
This article reflects some advantages and disadvantages of mqtt and GCM using XMPP http://ollieparsley.com/2013/05/20/using-mqtt-as-a-gcm-replacement-for-android-push-notifications/
But ultimately, depending on your specific needs, you should implement two test clients to see which is more effective in battery use and message reliability