Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Advice on implementing push notifications to your app / service in 2021
3 points by throneandaway on Feb 23, 2021 | hide | past | favorite | 1 comment
Hi HN,

I'm currently designing a high speed gaming service which has a need for reliable mobile push notifications with accurate badge counting for when the user has the app killed.

So how are engineers on HN currently implementing push notification functionality into their apps and services that manage the badges counting, delivery and making sure the notification gets delivered to the user instantly with the correct unread badge numbers for each user.

Also very curious to know your server architecture, badge counting and design decisions on implementing this if you've done this before.



Happy to help you. Instant push notifications are really not possible reliably. There are a lot of services (including one that we run www.appice.io)

The matrix of devices to support and changing APIs makes it very complex to support this as a DIY solution.

If you are looking for instant notifications and the game can be in foreground then web sockets might be a better option.

You can look at an architecture posted by Uber sometime back that shows how they handle messaging at scale.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: