How NASA built Artemis II’s fault-tolerant computer

(cacm.acm.org)

141 points | by speckx 12 hours ago

9 comments

  • dmk 3 hours ago
    The quote from the CMU guy about modern Agile and DevOps approaches challenging architectural discipline is a nice way of saying most of us have completely forgotten how to build deterministic systems. Time-triggered Ethernet with strict frame scheduling feels like it's from a parallel universe compared to how we ship software now.
    • iknowstuff 44 minutes ago
      Tesla’s Cybertruck uses that in its ethernet as well!
    • mvkel 1 hour ago
      If you look at code as art, where its value is a measure of the effort it takes to make, sure.
      • BobbyTables2 8 minutes ago
        In that case, our test infrastructure belongs in the Louvre…
      • couchand 47 minutes ago
        If your implication is that stencil art does not take effort then perhaps you may not fully appreciate Banksy. Works like Gaza Kitty or Flower Thrower don’t just appear haphazardly without effort.
    • arduanika 2 hours ago
      You could even say that part of the value of Artemis is that we're remembering how to do some very hard things, including the software side. This is something that you can't fake. In a world where one of the more plausible threats of AI is the atrophy of real human skills -- the goose that lays the golden eggs that trains the models -- this is a software feat where I'd claim you couldn't rely on vibe code, at least not fully.

      That alone is worth my tax dollars.

    • tayk47999 3 hours ago
      [dead]
    • ramraj07 3 hours ago
      I take the opposite message from that line - out of touch teams working on something so over budget and so overdue, and so bureaucratic, and with such an insanely poor history of success, and they talk as if they have cured cancer.

      This is the equivalent of Altavista touting how amazing their custom server racks are when Google just starts up on a rack of naked motherboards and eats their lunch and then the world.

      Lets at least wait till the capsule comes back safely before touting how much better they are than "DevOps" teams running websites, apparently a comparison that's somehow relevant here to stoke egos.

      • danhon 3 hours ago
        You mean like this?

        "With limited funds, Google founders Larry Page and Sergey Brin initially deployed this system of inexpensive, interconnected PCs to process many thousands of search requests per second from Google users. This hardware system reflected the Google search algorithm itself, which is based on tolerating multiple computer failures and optimizing around them. This production server was one of about thirty such racks in the first Google data center. Even though many of the installed PCs never worked and were difficult to repair, these racks provided Google with its first large-scale computing system and allowed the company to grow quickly and at minimal cost."

        https://blog.codinghorror.com/building-a-computer-the-google...

        • ramraj07 1 hour ago
          The problem they solved isn't easy. But its not some insane technical breakthrough either. Literally add redundancy, thats the ask. They didnt invent quantum computing to solve the issue did they? Why dunk on sprints?
          • vlovich123 1 hour ago
            Wow. What a hand wave away of the intrinsic challenge of writing fault tolerant distributed systems. It only seems easy because of decades of research and tools built since Google did it, but by no means was it something you could trivially add to a project as you can today.
            • tempest_ 43 minutes ago
              > fault tolerant distributed systems

              I mean there were mainframes which could be described as that. IBM just fixed it in hardware instead of software so its not like it was an unknown field.

        • 1970-01-01 1 hour ago
          Google then had complete regret not doing this with ECC RAM: https://news.ycombinator.com/item?id=14206811
          • newmana 27 minutes ago
            A great version of this and how ex-DEC engineers saved Google and their choice of ECC RAM - inventing MapReduce and BigTable https://www.youtube.com/watch?v=IK0I4f8Rbis
          • ramraj07 1 hour ago
            It got them to where they need to be to then worry about ECC. This is like the dudes who deploy their blog on kubernetes just in case it hits front page of new york times or something.
      • bluegatty 2 hours ago
        No, space is just hard.

        Everything is bespoke.

        You need 10x cost to get every extra '9' in reliability and manned flight needs a lot of nines.

        People died on the Apollo missions.

        It just costs that much.

        • arduanika 2 hours ago
          Please, this is hacker news. Nothing else is hard outside of our generic software jobs, and we could totally solve any other industry in an afternoon.
          • geerlingguy 2 hours ago
            I mean I can just replace Dropbox with a shell script.
        • ramraj07 1 hour ago
          Yep, spend 100 billion on what should have cost 1/50that cost, and send people up to the moon with rockets that we are still keeping our fingers crossed wont kill them tomorrow, and we have to congratulate them for dunking on some irrelevant career?
      • bfung 1 hour ago
        One simply does not [“provision” more hardware|(reboot systems)|(redeploy software)] in space.
      • HNisCIS 2 hours ago
        What would you suggest? Vibe coding a react app that runs on a Mac mini to control trajectory? What happens when that Mac mini gets hit with an SEU or even a SEGR? Guess everyone just dies?
        • mlsu 15 minutes ago
          No, of course not! It would be far better to have an openClaw instance running on a Mac Mini. We would only need to vibe code a 15s cron job for assistant prompting...

          USER: You are a HELPFUL ASSISTANT. You are a brilliant robot. You are a lunar orbiter flight computer. Your job is to calculate burn times and attitudes for a critical mission to orbit the moon. You never make a mistake. You are an EXPERT at calculating orbital trajectories and have a Jack Parsons level knowledge of rocket fuel and engines. You are a staff level engineer at SpaceX. You are incredible and brilliant and have a Stanley Kubrick level attention to detail. You will be fired if you make a mistake. Many people will DIE if you make any mistakes.

          USER: Your job is to calculate the throttle for each of the 24 orientation thrusters of the spacecraft. The thrusters burn a hypergolic monopropellent and can provide up to 0.44kN of thrust with a 2.2 kN/s slew rate and an 8ms minimum burn time. Format your answer as JSON, like so:

               ```json
              {
                x1: 0.18423
                x2: 0.43251
                x3: 0.00131
                 ...
              }
               ```
          
          one value for each of the 24 independent monopropellant attitude thrusters on the spacecraft, x1, x2, x3, x4, y1, y2, y3, y4, z1, z2, z3, z4, u1, u2, u3, u4, v1, v2, v3, v4, w1, w2, w3, w4. You may reference the collection of markdown files stored in `/home/user/geoff/stuff/SPACECRAFT_GEOMETRY` to inform your analysis.

          USER: Please provide the next 15 seconds of spacecraft thruster data to the USER. A puppy will be killed if you make a mistake so make sure the attitude is really good. ONLY respond in JSON.

        • ramraj07 1 hour ago
          All Im suggesting is to be humble about your mediocre solutions. This is not the only solution and not that ingenious necessarily. Why do you need to bring up vibecoding here? Because people who criticize arrogant nasal engineers are also AI idiots by default?
          • ToucanLoucan 49 minutes ago
            Wild shit to be advising other people to be humble whilst talking directly out of your ass about technology you clearly do not understand and engineers you have no respect for.

            Perhaps self-reflect.

      • simoncion 3 hours ago
        > ...they talk as if they have cured cancer.

        I'd chalk that up to the author of the article writing for a relatively nontechnical audience and asking for quotes at that level.

  • __d 1 hour ago
    Does anyone have pointers to some real information about this system? CPUs, RAM, storage, the networking, what OS, what language used for the software, etc etc?

    I’d love to know how often one of the FCMs has “failed silent”, and where they were in the route and so on too, but it’s probably a little soon for that.

  • y1n0 2 hours ago
    NASA didn't build this, Lockheed Martin and their subcontractors did. Articles and headlines like this make people think that NASA does a lot more than they actually do. This is like a CEO claiming credit for everything a company does.
    • voodoo_child 1 hour ago
      Nice “well, actually”. I’m sure Lockheed were building this quad-redundant, radiation-hardened PowerPC that costs millions of dollars and communicates via Time-Triggered Ethernet anyway, whether NASA needed one or not.
      • kube-system 9 minutes ago
        Probably, if it already wasn’t developed for DoD.
      • y1n0 40 minutes ago
        This is the equivalent of prompt engineering.
    • adrian_b 1 hour ago
      Lockheed Martin and their subcontractors did the implementation.

      We do not know how much of the high-level architecture of the system has been specified by NASA and how much by Lockheed Martin.

      • y1n0 40 minutes ago
        I do.
        • professorseth 34 minutes ago
          Are you interested in sharing more details to make your claim more believable?
    • Sebguer 1 hour ago
      will nobody think of the megacorps!!!
  • jbritton 2 hours ago
    I wonder how often problems happen that the redundancy solves. Is radiation actually flipping bits and at what frequency. Can a sun flare cause all the computers to go haywire.
    • EdNutting 2 hours ago
      Not a direct answer but probably as good information as you can get: https://static.googleusercontent.com/media/research.google.c...

      Basically, yes, radiation does cause bit flips, more often than you might expect (but still a rare event in the grand scheme of things, but enough to matter).

      And radiation in space is much “worse” (in quotes because that word is glossing over a huge number of different problems, both just intensity).

    • tosapple 1 hour ago
      [dead]
  • object-a 2 hours ago
    How big of a challenge are hardware faults and radiation for orbital data centers? It seems like you’d eat a lot of capacity if you need 4x redundancy for everything
    • aidenn0 4 minutes ago
      You don't need 4x redundancy for everything. If no humans are aboard, you have 2x redundancy and immediately reboot if there is a disagreement.
    • totetsu 2 hours ago
      They dont go into here.. but I thought that NASA also used like 250nm chips in space for radiation resistance. Are there even any radiation resistance GPUs out there?
      • kersplody 1 hour ago
        NOPE, RAD hardened space parts basically froze on mid 2000s tech: https://www.baesystems.com/en-us/product/radiation-hardened-...
      • pclmulqdq 2 hours ago
        Absolutely not, although the latest fabs with rad-tolerant processors are at ~20 nm. There are FDSOI processes in that generation that I assume can be made radiation-tolerant.
      • linzhangrun 2 hours ago
        It seems not; anti-interference primarily relies on using older manufacturing processes, including for military equipment, and then applying an anti-interference casing or hardware redundancy correction similar to ECC.
  • starkparker 12 hours ago
    Headline needs its how-dectomy reverted to make sense
    • arduanika 2 hours ago
      (Off-topic:) Great word. Is that the usual word for it? Totally apt, and it should be the standard.
  • nickpsecurity 16 minutes ago
    The ARINC scheduler, RTOS, and redundancy have been used in safety-critical for decades. ARINC to the 90's. Most safety-critical microkernels, like INTEGRITY-178B and LynxOS-178B, came with a layer for that.

    Their redundancy architecture is interesting. I'd be curious of what innovations went into rad-hard fabrication, too. Sandia Secure Processor (aka Score) was a neat example of rad-hard, secure processors.

    Their simulation systems might be helpful for others, too. We've seen more interest in that from FoundationDB to TigerBeetle.

  • seemaze 1 hour ago
    • adrian_b 1 hour ago
      That was a laptop, not one of the Artemis computers.
  • ConanRus 3 hours ago
    [dead]