How does Parse manage sending notifications for Android devices?
-
How does Parse manage sending notifications for Android devices? Parse blog says: "Our system isnât dependent on C2DM, so it works on Android 1.5, 1.6, and 2.1, and doesnât require a user to have an active Google account." from here http://blog.parse.com/2011/07/25/android-push-notifications/ I am wondering how they exactly do the notification to Android? If long pull, it costs data and battery of device. Or their own solution? It costs Parse a lot to maintain. On top of what existing (open source) frameworks or purely developed by Parse engineers? Can some one explain what is under the hood? Thank you!
-
Answer:
At Parse, we decided to build our own push notification service so we could support older clients, people who preferred not to use C2DM (GCM was not yet available), and devices like the Kindle Fire which do not have access to C2DM/GCM. The client-side library is a long-polling TCP socket, which Java supports reasonably well out of the box. It's implemented as a true kernel-blocked long-poll, rather than a polling loop, to save battery life. This is the best practice whether written by Parse, Google, Apple, or Amazon. The backend does the heavy lifting. We keep costs down by building as much on top of open source platforms as possible. We use a variety of open source technologies at Parse, including Rails, Resque, EventMachine, MongoDB, Redis, etc.
Thomas Bouldin at Quora Visit the source
Related Q & A:
- How to parse .log file and insert into database in PHP?Best solution by unix.com
- How to parse single xml node in windows phone?Best solution by Stack Overflow
- Android: How to parse JSON file with Gson Library?Best solution by Stack Overflow
- How can I get extra notifications on YouTube?Best solution by Yahoo! Answers
- How do you manage to make your schedule work for two part-time jobs?Best solution by wikihow.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.