Live data from Hacker News

Ntfy.sh – Send push notifications to your phone via PUT/POST

ntfy.sh

241–250 of 306 posts

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#243

Earlier quoted context omitted.

That is nice of you and you've helped them to cover server costs for the next two months. Server optimisations can help them reduce the cost further.

I appreciate the dogged pursuit of efficiency, but spending a lot of time optimizing for the current scale and getting costs from $24 per month to $10 per month (or whatever) is likely wasted time if this grows significantly. You have to be able to recognize there’s a lower bound where your costs are low enough it doesn’t matter and even saving 75% isn’t worth thr effort. The author has obviously drawn that line some…

That's a good point. I guess many of us were suggesting cheaper VPS because we assumed this is a new project, just launched. (Most inexperienced developers / start-ups tend to over provision). With current hosting technologies, it is quite easy to scale with need, with minimum downtime, so it makes sense to start with the minimum server requirement and then go for a powerful server as required. This give you valuable data on the bottlenecks (where you can do future optimizations), as you scale, while you temporarily fix the issue with more money (by requisitioning better servers) as you work out the cost-benefit analysis (as you did) of spending money on optimising vs server upgrade.

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#244
post #17

When I was making my IoT washing machine sensor, I used Blynk.io to push notifications to my phone but of course that service became commercialised and is no longer free. I could not find any nice easy to use alternative except for Telegram which is what I use now. This service looks exactly like what I would need and I appreciate the promise to keep it open source.

https://pushover.net/ Has existed for several years. It works great for me.

Also pushover fan. I have come to rely on it for critical monitoring alerts, and have not yet experienced failure in many years of use.

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#245
post #179

Darn, I came up with this recently and thought the only competitor was pushed.io, I do have a secret ingredient. Time will tell once I’m done

Keep at it... it's important to have multiple options, and I know the OP would likely encourage you to keep at it. Of course, make it open source as they did, if you can. :-)

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#246

This is really great! I have plenty of uses for this. Here's a quick fish function for being able to call this from a shell like `alt my message` function alt curl -d "\"$argv\"" ntfy.sh/ end

I would actually do it with an SMS like this.

  $ cat /bin/awkmail
  #!/bin/gawk -f

  BEGIN { smtp="/inet/tcp/0/smtp.yourISP.com/25";
  ORS="\r\n"; r=ARGV[1]; s=ARGV[2]; sbj=ARGV[3]; # /bin/awkmail to from subj  0) print                 |& smtp

  print "."                                |& smtp;  smtp |& getline j; print j
  print "quit"                             |& smtp;  smtp |& getline j; print j

  close(smtp) } # /inet/protocol/local-port/remote-host/remote-port


  $ echo ricki dont lose that number | awkmail 9998675309@vtext.com me@here.com test

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#247
I use textbelt.com to send text from my various test processes. It isn't free; it isn't even the cheapest. But, I can send 700 texts for $10, or about 1.5 cents per text. That is less than a second of my salary. Not worth my time to cut the cost further.

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#249

Earlier quoted context omitted.

What does your reliability look like? Obviously no SLA but what can we really expect? Pay tier available for HA?

https://ntfy.sh/docs/faq/#what-are-the-uptime-guarantees 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 backen…

Start providing it (reliability/HA) and turn it into an actual business :-) It'd be a lot more fun than getting a principle position

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#250

Hey cool, this is my project. Happy to answer questions. 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

Congratulations. It seems like your project is well received in the community.

Could you elaborate on how this differs from gotify?

Post reply on HN