points by dang 3 years ago

Looks like a hard drive stopped working. We switched to the failover server.

Sorry everyone!

onion2k 3 years ago

If you had an auto scaling kubernetes cluster with multiple redundancies using rust and 3 JS frameworks this wouldn't happen. ;)

  • wdfx 3 years ago

    ... but many other horrible things might

  • phtrivier 3 years ago

    That being said, is the actual production infra archi for HN described somewhere ? Curious how simple it can afford to be.

    We laugh at people piling layers and layers and artifacts on their sites, all in the hope of adding redundancy, handle "webscale" load, and avoid an outage (ironically increasing the chances that _something_ will break).

    However, if a single hard drive crashing somewhere can cause your site to be down for minutes or hours, some non-tech people (managers, shareholders, customers) will wonder if the site is "professionnal" enough - and I can sympathize with them.

    • tomtom1337 3 years ago

      From 2018: <https://news.ycombinator.com/item?id=16076041>

      > We’re recently running two machines (master and standby) at M5 Hosting. All of HN runs on a single box, nothing exotic: CPU: Intel(R) Xeon(R) CPU E5-2637 v4 @ 3.50GHz (3500.07-MHz K8-class CPU) FreeBSD/SMP: 2 package(s) x 4 core(s) x 2 hardware threads Mirrored SSDs for data, mirrored magnetic for logs (UFS) We get around 4M requests a day.

      • irusensei 3 years ago

        > FreeBSD/SMP

        Good choice. :)

        • raverbashing 3 years ago

          "Why are they using a freeware OS?" (: /s

  • oefrha 3 years ago

    Three.js on HN? Interesting thought.

    • onion2k 3 years ago

      Raymarched SDF pyramids implemented with GLSL shaders for the voting arrows! They could be so shiny!

      (It's a wonder that anyone lets me near the frontend of their websites really.)

      • cnity 3 years ago

        It wouldn't surprise me if someone managed to implement a 3d voting arrow in less than the 407B transfer size of the existing .gif

        • jnk345u8dfg9hjk 3 years ago

          huh, all this time I thought the arrow was just a unicode character

  • Karellen 3 years ago

    Imagine a Beowulf cluster of those!!111!!eleven!!1!

  • hdjjhhvvhga 3 years ago

    Irony aside, what's the point? In theory, yes, it could work better. In practice though, HN with its two baremetal boxes has better uptime than 99,99% of the Web, including the biggest ones - just because complexity has its price.

  • btschaegg 3 years ago

    > If you had an auto scaling kubernetes cluster with multiple redundancies using rust and 3 JS frameworks outages like this wouldn't surprise your users anymore.

    FTFY

mikewarot 3 years ago

Well, that's ok... thanks for being up to fix it.

It's not an actual spinning hard drive, is it?

fortran77 3 years ago

You need to rewrite Hacker News in Rust to prevent these sorts of things!

scoot 3 years ago

No apology necessary, but I'm curious how a hard drive failure caused an outage. No RAID or mirroring? No hot spares? No clustering or distributed systems?

  • mikiem 3 years ago

    It was part of a mirror of identical SSDs on an LSI MegaRAID RAID card. We see occasional "spectacular" drive failures that take the machine down with a single disk failure. Usually it's just a reboot to come back up, and a disk replacement, then some hours of time to rebuild the array and get back to situation nominal.

extheat 3 years ago

I’m curious as to what time zone you’re in. Or if there’s multiple people behind your account. It’s pretty impressive how omnipresent you are :).

baxtr 3 years ago

For two hours I thought I was finally blocked.

rvense 3 years ago

And just as I was on the train to work. Worst. Website. Ever.

  • batch12 3 years ago

    If this site being down was that impactful to your commute, it seems like you actually feel like it has a lot of value.