Live data from Hacker News

What One-person SaaS Healthchecks.io uses for hosting, hardware and software

blog.healthchecks.io

41–50 of 180 posts

Re: What One-person SaaS Healthchecks.io uses for hosting, hardware and software

#41
> HAProxy 2.2 for terminating TLS connections, and load balancing between app servers. Enables easy rolling updates of application servers.

Wonder why he is not using hetzner's load balancer [1]. At least cost-wise, the savings are huge (4xAX41-NVME are around 160€; LB31 - the most expensive one - is 36€)

[1] https://www.hetzner.com/cloud/load-balancer

Re: What One-person SaaS Healthchecks.io uses for hosting, hardware and software

#42
post #38

>A dedicated laptop inside a dedicated backpack, for dealing with emergencies while away from the main PC. This line here shows much thought has gone into "what if...." situations. Bravo! I too have a similar setup - I have a contractual responsibility to my clients, and if anything goes wrong with my main equipment, I can resume ASAP. This includes a dedicated smartphone for hotspotting if my internet connection die…

A business bug out bag or BCP in a back pack.

Re: What One-person SaaS Healthchecks.io uses for hosting, hardware and software

#43
I never realized that Healthchecks.io was a one man show. I'm almost ashamed to say that i've been using the free tier for years. I moved from self hosted to the free tier when i killed off all of self hosted services, and i don't have much legitimate use for it, having it attached to a backup of a Raspberry Pi running HomeBridge in my summerhouse :)

I do use it for a purpose it probably was not designed for :) In my summerhouse, one of the circuit breakers trips every now and then (1-2 times per year) for no apparent reason, and since the fridge is connected to that breaker, i very much fear arriving at a summer house where the fridge has been unpowered for a couple of weeks.

The solution to that of course, was to setup a systemd timer on a Raspberry Pi (that also runs HomeBridge), which pings Healthchecks.io every 15 minutes. If it misses 2 pings it raises an alert.

So far i've had 2 notifications in the 2+ years it's been running, and both have been internet connection related, so monitoring the situation has apparently changed something :)

Re: What One-person SaaS Healthchecks.io uses for hosting, hardware and software

#44

Earlier quoted context omitted.

> This is just slightly more complex than a static site That's because their product is only slightly more complex than a static site. I wish every project was as basic as a web server and database but it's pretty rare these days.

> I wish every project was as basic as a web server and database but it's pretty rare these days. Is it? What functionality are you thinking about that absolutely require more than that? I find that most ideas even today can be solved with a web server + DB, while developers today like to over-engineer things and think about scaling a service for a million users while they haven't even figured out the value propositi…

If you’re programming autonomous weapons for fighter jets it tends to require a little more than a web server, or so I’ve heard!

Re: What One-person SaaS Healthchecks.io uses for hosting, hardware and software

#45
post #41

> HAProxy 2.2 for terminating TLS connections, and load balancing between app servers. Enables easy rolling updates of application servers. Wonder why he is not using hetzner's load balancer [1]. At least cost-wise, the savings are huge (4xAX41-NVME are around 160€; LB31 - the most expensive one - is 36€) [1] https://www.hetzner.com/cloud/load-balancer

I believe the load balancer is pretty new and it is probably the only service that allows connecting to dedicated servers -- which is separate from their cloud offering.

Re: What One-person SaaS Healthchecks.io uses for hosting, hardware and software

#46
post #26
post #10

Very cool setup. I know it's a bit silly, but anyone building out cloud services should look at this post and think about how easy it is to set up this. This is just slightly more complex than a static site, has a bit of heterogenity, but otherwise is a lot of known tools. Can your stack provide all of this without breaking the bank for the people signing up? Can it be done without having to learn a bunch of bespoke…

What happens when the datacenter catches fire? (OVH in 2021). If you're running a site like this, it's fine to be down for a bit, people will forgive you as you restore from backup (looks like a very solid foundation the site has).

The bus factor is 1. It's much more likely the dev can't do something for some reason than the datacenter catch fire.

Re: What One-person SaaS Healthchecks.io uses for hosting, hardware and software

#47
post #41

> HAProxy 2.2 for terminating TLS connections, and load balancing between app servers. Enables easy rolling updates of application servers. Wonder why he is not using hetzner's load balancer [1]. At least cost-wise, the savings are huge (4xAX41-NVME are around 160€; LB31 - the most expensive one - is 36€) [1] https://www.hetzner.com/cloud/load-balancer

i tried to use it out of curiosity but the documentation was really lacking and the workflow of creating the networks is bad

Re: What One-person SaaS Healthchecks.io uses for hosting, hardware and software

#50
post #32

Can you share more details about what the 4 HAProxy servers are doing? I run a SaaS too, but on a single beefy machine handling web and DB stuff. I'm curious what I'm missing out on not using HAProxy in front.

To answer the question of why four of them: * the traffic from the monitored systems comes with spikes. Looking at netdata graphs, currently the baseline is 600 requests/s, but there is a 2000 requests/s spike every minute, and 4000 requests/s spike every 10 minutes. * want to maintain redundancy and capacity even when a load balancer is removed from DNS rotation (due to network problems, or for upgrade) There are sp…

I didn't realize you were getting that many requests per second. That's quite remarkable when you only have 18 app cores available. In my experience, you're lucky if you can get Django to service a request in 10ms. So I'd expect closer to 40 cores to handle that level of traffic. I suppose since it is spiky, and not a particularly latency sensitive application, you can get by with fewer cores.
Post reply on HN