by stared · 5y ago · 0 comments
Your website goes down because it lands on HN... but still, there is a non-trivial cost when there are no visitors.
Your website goes down (or worse: gets hijacked) because you forgot to install the newest security update.
Your website goes down because, at some point, you lose effort in maintaining it actively.
My opinion is that the best way is to host through GitHub (or a similar service). It is up, the way you want. Yet, if anything goes wrong, you still have everything, and there is little friction to push it somewhere else.
Sure, if you want to self-host as you have as a DIY project, excellent. For a reliable, safe, cheap, long-term way of sharing data, it is unlikely to be an efficient solution.
UPS are cheap these days and easy to set up.
> Your website goes down because it lands on HN... but still, there is a non-trivial cost when there are no visitors.
It would not if you host a static page.
> Your website goes down (or worse: gets hijacked) because you forgot to install the newest security update.
backups, clean and re-install? Painful the first time you have to do it, then you build good habits from it.
> My opinion is that the best way is to host through GitHub (or a similar service)
Enjoy your DMCA take-downs for no reason now and then, and good luck fixing that on your own.
Your website goes down because there is a outage https://www.githubstatus.com/incidents/p3dlswx26qvk
Your website (and everyone else's) goes down (or worse: gets hijacked) because Github left a security vulnerebelibity
Your website goes down because it lands on HN, and you ran out of your "free" hosting credits on vercel.
By hosting through another service we're just making our problems someone else's, we lose responsibility and also control.
The site doesn't go down very often TBO. - Power shortages: happens 3x per year for 20 minutes or so. The server boots up automatically after that. - DDOS: I have cloudflare. I have the server under monitoring. I have Mikrotik router. - Hijacking: I use a Mikrotik router on the edge which has a pretty solid firewall (+ Cloudflare). It's good to have something like that in your household regardless of your web hosting needs. It’s just a matter of paying some attention to your own internet security. - Active maintenance: I don't do that, lol.
It's so simple to setup all of that (server, linux, docker, cloudflare, firewall), that I think everyone should at least try. And it's fun, not an obligation.
I plan to increase the amount of services I'm going to host myself in the future. You can't go wrong choosing freedom.
Said that, I understant the hesitation someone might have when dealign with the problem for the first time. My point is that it’s worth to take that step.
PS: the overall availability of the service is good enough on my setup to not be penalized by Google's SEO platform (that's a thing if you have persistent hosting issues).
P2P systems like bittorrent are incredibly resilient and low-maintenance.
We really need libraries and tools to implement distributed "crowd-hosted" services and contents.
E.g. ways to easily reach a user/application on a dynamic/natted ipaddr.
[please don't start recommending blockchains]
A bit of optimization goes a long way, but yes there are limits. Now the question is this risk worth mitigating? I think for small sites that rarely end up on HN, not more so than avoiding reliance on GH for example.
The non-scalability of individuals past boutique efforts is the biggest management challenge.
Now, if it's a hobby site, then The Famous Article (TFA) is completely proper.