4 ms·
Maybe standby should be in another rack, perhaps even another datacenter.
by bombcar 6y ago
Maybe standby should be in another rack, perhaps even another datacenter.
- dang 6y agoThat would be the natural next step, but it's a question of whether it's worth the engineering and maintenance effort, especially compared to other things that need doing. For failures that don't take down the datacenter, we already have a hot standby. For datacenter failures, we can migrate to a different host (at least, we believe we can—it's been a while since we verified this). But it would take at least a few hours, and probably the inevitable glitches would make it take the better part of a day. Let's say a day. The question is whether the considerable effort to build and maintain a cross-datacenter standby, in order to prevent outages of a few hours like today's, would be a good investment of resources.
- cesarb 6y ago> For failures that don't take down the datacenter, we already have a hot standby. For datacenter failures, we can migrate to a different host (at least, we believe we can—it's been a while since we verified this). It might be a good idea to verify it; see the recent events at OVH (https://news.ycombinator.com/item?id=26407323 https://news.ycombinator.com/item?id=26407323).
- Aperocky 6y agoQuestion: what is the other things that need doing? Obviously does not apply to engineering effort outside of hacker news website, which the team might be working on. But this forum has seen little change over the years and it's pretty awesome as is. (Though I didn't use HN api too much so not sure what's going on that side).
- phpnode 6y agoTeam is maybe a bit of a generous term to describe dang!
- dang 6y ago> Question: what is the other things that need doing? I'm currently working on fixing a bug where collapsing comments in Firefox jumps you back to the top of the page. I'm taking it as an opportunity to refine my (deliberately) dead-simple implementation from 2016. > But this forum has seen little change over the years and it's pretty awesome as is. That's an illusion that we work hard to preserve, because users like it. People may not have seen much change over the years but that's not because change isn't happening, it's because we work mostly behind the scenes. Though I have to say, I really need more time to work on the code. I shouldn't have to wait for 3 hours of network outage to do that (but before anyone gets indignant, it's my own fault).
- Flenser 6y agoDoes that mean it might get more performant? On my mobile the time it takes seems to scale with the number of posts on the page, not the number of posts it actually collapses
- dang 6y agoYes I certainly hope so. The dead-simple implementation first expands all the comments and then collapses the ones that should be collapsed, so your observation is spot on.
- floatingatoll 6y agoMy vote is no. We will all be fine for a day without HN, as today proved. There have to be so many other ways HN can be improved, that will have more of an impact for HN users, in the remaining 364 days of the year.
- amelius 6y agoA read-only copy in a different DC could be a simple and still acceptable option. And a status page would be nice.