I had implemented the Google Cloud Messaging for one of the apps I was working on. It was working well and was able to send couple of messages. But It was heavily unreliable. At the server I was able to see that Django has made proper request to Google server and the connection to my server to the Google's server is successful. Now it is Google's task to deliver my GCM message to the android device those are registered. I even checked the length of the message and my message is in correct range. But still I am facing the issue.
So for cloud message in Android app , what are the other reliable alternatives that I can use. I was thinking for the firebase but was not able to find any reliable resource that has made use of firebase. If anyone has encountered the same problem please let me know.
Idea Incubator
Jan Vladimir Mostert
I'm using Google Cloud Messaging in one of my products; over the last two years I've had two outages, one of them caused big problems when it sent 100000 emails 12 times to all users, many users unsubscribed and sent outraged responses.
I've since then made my side more durable to be able to handle failure on cloud messaging and haven't had issues since.
All new projects I'm building, I'm using RabbitMQ AMQP - reliability is baked into it, last time I checked, Google Cloud Messaging is running over HTTP(s) which is not considered reliable by design - there's no guarantees that messages will be delivered whereas AMQP can give you those guarantees up to a point.
Quote:
So according to their design, you might get messages delivered in duplicates, be prepared for that. Other than that, it's not that unreliable.