News for hackers. Stuff that matters.
Re:Ask HN: How does HN manage to be always online? by iso1631 on Tuesday June 21, 2022 @06:20AM (#31822279)
I think the main risk of the HN architecture is that (I believe) it's a single datacentre in a single location. Hopefully they have offsite backups.

The other risk I guess would be that all the NS are AWS/route53 severs, so if that went down they'd be up for about a minutes (looks like the DNS TTL is 2 minutes).

You could host your own NS servers in two different locations on two different providers, you could have a third hot spare server ready to go too, that would allow the service to survive an earthquake flattening San Diego (off site server ready to go), and cope with the loss of AWS DNS. Whether the cost/benefit ratio is there is another matter. I think the serving side of route53 is fairly reliable though (even when the interface to update records fails on a frequent basis), and the cost of being down isn't particularly terrible.

Re:Ask HN: How does HN manage to be always online? by barelysapient on Tuesday June 21, 2022 @09:58AM (#31824017)
> I think the main risk of the HN architecture is that (I believe) it's a single datacentre in a single location.

Exactly, Amazon US EAST makes the same point several times a year! :)

Re:Ask HN: How does HN manage to be always online? by systemvoltage on Tuesday June 21, 2022 @01:59PM (#31827048)
We should ask this question to ourselves: As a user, if I have to manage the risk of US-East-1 going down, may be we should question this entire Cloud thing. It was marketed as "100% bulletproof" in 2005 when we discarded on-prem.
Re:Ask HN: How does HN manage to be always online? by iso1631 on Wednesday June 22, 2022 @05:05AM (#31833569)
To be fair to amazon I don't think they've had an outage that affected different data centres at the same time, but yes I would far rather have my main and backup on two providers in two appropriately diverse locations.
Re:Ask HN: How does HN manage to be always online? by dopp0 on Thursday June 23, 2022 @07:54AM (#31847776)
but never forget that AWS uses us-east-1 to host core services that, when they go down, they take almost the whole thing down, no matter which region.
Re:Ask HN: How does HN manage to be always online? by iso1631 on Thursday June 23, 2022 @08:49AM (#31848311)
Which specific services?

I only use VMs and route53, and form what I've seen when us-east-1 is down I can still resolve my domains

Re:Ask HN: How does HN manage to be always online? by JonAtkinson on Wednesday June 22, 2022 @04:42AM (#31833438)
What is the downside for a user to have a few minutes of downtime?

What is the upside for HN to add this engineering complexity to avoid a couple of minutes of downtime?

Re:Ask HN: How does HN manage to be always online? by iso1631 on Wednesday June 22, 2022 @05:03AM (#31833556)
For HN it probably doesn't matter, although what's the value

For Amazon too it probably doesn't matter -- if I occasionally can't buy something I'm almost certain to simply try again 30 minutes later

For some services a couple of minutes of downtime isn't good enough. Imagine if the superbowl went dark for 5 seconds just as the winning play happened.