* SEO, discoverability
* ability to handle HN hug-of-death
* distribution
* some SRE/dev-op makes sure your article isn't 404'd
* backups
etc.
> Avoid unnecessary middlemen.
They just proved why they're necessary.
* SEO, discoverability
* ability to handle HN hug-of-death
* distribution
* some SRE/dev-op makes sure your article isn't 404'd
* backups
etc.
> Avoid unnecessary middlemen.
They just proved why they're necessary.
Seriously, this is bullshit. When my blog was on the frontpage, CPU load on my single 1-core VPS peaked at 5% and bandwidth usage was about 1 megabit per second. No Netlify, no Cloudflare, no nothing. If your website cannot handle the HN crowd, it's just badly engineered. Period.
Source: https://xyrillian.de/thoughts/posts/latency-matters-aftermat...
If you're talking about an ordinary webserver giving out an ordinary webpage you will run out of bandwidth long before you overload the server.
My primary site not only stores articles in the DB, but runs them through an extended, custom markdown parser upon retrieval, and processes and reports event data on every page load. It was still successfully returning ~250 reqs/sec before I'd bothered implementing any caching or pre-compilation of markdown at all.
In contrast, people recently HNed[1] are reporting about 12-15k visits over a day. That's something a single server on a $5/month VPS can handle in a minute
1) https://getpolarized.io/2019/04/02/getting-hacker-news-lesso...
This matches my experience. I think I got about 10k visits over the course of a day, 80% within the first three hours.
Moderation is offtopic. Putting comments on a different system seems like overzealous, premature optimisation...
EDIT: Downvoters, would really like to know why you're downvoting? Am I being naive in thinking a blog would be bottlenecked on connections?
Concurrent requests were usually in the 400-800 range depending on where it ranked and what it was about. That's going by Google Analytics too which means it's likely higher since devs tend to disable as much tracking as possible.
nginx won't even break a sweat if you're on a low end VPS and are serving static content. You'll have pretty much the same latency as serving 1 concurrent request (single digit milliseconds + whatever network latency there is between your server and the visitor).
A small blog can randomly get a 100,000 view spike. If the blog contains images and maybe even a gif it’s easy to blow through bandwidth caps for most free tiers.
I use netlify’s free tier but actually host my videos on BunnyCDN. I also make sure to optimize my pngs and jpgs. This isn't precautionary. It's actually necessary.
I also laughed at the irony of OP's site going down, but these are the growing pains that will ultimately be necessary if we don't want the internet to be walled gardens run by 3-4 companies.
But running a web platform is a hard operational problem. Having all the pieces available doesn’t get you even halfway there; you have to spin them up and glue them together, and any number of relatively minor mistakes can mean the whole thing falls over. I’m not sure even in principle that can be reduced to a portable platform binary.
The article is "RSS and blogs vs YouTube, Facebook, Twitter. ..." not "iron in my closet vs. rented server".
Unless no one wants to learn stuff anymore. We need an evil corp because no one can change their oil anymore?
(E.g. crappy residential DSL.)