by binwiederhier · 4y ago · 0 comments
Edit: I am also looking for a new opportunity. If you need a good Staff/Principal Engineer, check out my resume here: https://heckel.io/resume.pdf
You've made a beautiful piece of software for your own enjoyment and the benefit of others. It is just what it needs to be. Bravo. In a world where projects get massively complicated and pumped full of VC funding, may efforts like this live on.
I guarantee for nothing, since this is a spare time project. That said, I have had zero outages in 11 months, see https://ntfy.statuspage.io/
When it outgrows the single EC2 instance, I'll likely start building some distributed thingy to spread the load and do some HA things (sounds like fun). Probably just a load balancer and 2-3 instances with a rqlite backend instead of SQLite, nothing too fancy.
Right now that's not necessary. As you can see, it handles traffic just fine for now.
rqlite will give you HA, but won't help with load (rqlite replicates for reliability, not for write performance). But I like to think the it'll give you solid -- and simple to use -- HA. Replicated just replaced their use of Postgres with rqlite for this reason[2].
[1] https://github.com/rqlite/rqlite
[2] https://www.replicated.com/blog/app-manager-with-rqlite/
> turn it into an actual business :-) It'd be a lot more fun
Not only could it _not_ be more fun, but it might actually suck all the existing fun out of it completely. But the OP will know better about that!
I am incredibly humbled by the sponsorships. I would have never thought ntfy would take off like that. I love open source and I promise it'll always be free and open (as long as I can reasonably fight of the abusers).
If you'd like to help me out me, you can donate via GitHub Sponsors: https://github.com/sponsors/binwiederhier
IPs: 9756
Clients: 9980
- Google Play: 2796
- F-Droid: 5985
- iOS: 794
- curl: 62
- other: 343
Messages:
- Successful: 310076
- Failed (rate limited): 104741
- Failed (other): 6511
Top publishers (* = limit exemption):
22908 matrix.org*
22352 matrix.gateway.unifiedpush.org*
18286 up.schildi.chat*
16134 192.124.x.x
14056 matrix.envs.net*
13376 108.35.x.x
7794 114.132.x.x
6035 112.78.x.x
5432 88.99.x.x
5366 138.201.x.x
In terms of open connections, it varies, but right now it's 5k active connections. But there are many many self-hosters out there, and the people using Firebase (no "instant delivery") are also not counted in that.You can subscribe to the stats above using the https://ntfy.sh/stats topic (old messages are only cached for 12h, so half the day it shows up as empty)
It wont be me. But some enterprising engineer/pm/group who was recently laid off in this downturn will probably make a go of it.
I am suffering a little right now while I try to add E2E encryption, because I structured the handlePublish logic awkwardly. But other than that there have been no surprises.
Sorry that's such a boring answer.
Could you elaborate on how this differs from gotify?
I decided to add Ntfy.sh support today just because it was so goddamn easy. Thanks for the cool service!
Now whenever new pull requests, issues or commits are made I get a ding on my phone!
And to subscribe, either use UnifiedPush (https://unifiedpush.org/), or use intents (see link above). Or, implement your own foreground service with WebSockets (just like the ntfy app does).