Hacker News new | ask | show | jobs
by shagie 1098 days ago
Then the push notification server is is doing $0.36/day/user of API calls under the pricing system as described.

Christian would need to change the monthly subscription from $4.99 to probably $14.99 or $19.99 to handle that (and regular daily use and Apple's subscription - though if he wanted to manage the subscriptions through a 3rd party payment processor he could reduce the 30% to 15% for that).

The lack of that, while it sucks, doesn't change that there's a cost with the polling architecture.

Looking at the history of that line (thank you for pointing it out, I'd been trying to work from the notificationsWorker)

    March 16, 2023: 10s to 60s
    Nov   10, 2022:  5s to 10s
1 comments

...or he could just have tiered pricing.

If he were to optimize his calls, he could get them down to under the new ratelimit, as the Relay for Reddit dev has. Once under the ratelimi, with no notifications, it's a total of $0.78/user/mo.