Hacker News new | ask | show | jobs
by gentleman11 2024 days ago
Why in do google servers need to middleman every push notification on a phone? I mean, google play store phones home every 2 mins anyway, but that is extra creepy
2 comments

Not sure how you imagine push notifications to work, but literally Google provide a "service" for this so app developers don't have to. https://en.wikipedia.org/wiki/Firebase_Cloud_Messaging
So that there's only one network connection delivering all the messages to apps, instead of 1,548 SSE/WS/XHR/GET(!) connections all ricocheting around and timing out and getting reconnected and sending 200MB of pings every minute.