Earlier this year, the single greatest site reliability engineering (SRE) lesson unfolded itself out in space. Last week we saw the very first, better-than-even-expected images from the James Webb Space Telescope or JWST.
After ten years of design and build on a $9 billion budget, this was an effort in testing 344 single points of failure all before deploying to production, with the distributed system a million miles and one month away.
Needless to say, there are a lot of reliability lessons to be learned from this endeavor. At his WTF is SRE talk last month, Robert Barron brought his perspective as an IBM SRE architect, amateur space historian, and a hobby space photographer to uncover the patterns of reliability that enabled this feat. And how NASA was able to trust its automation so much that itd release something with no hopes of fixing it. Its a real journey into observability at scale.
Its a great platform for demonstrating site reliability engineering concepts because this is reliability to the extreme, Barron said of the James Webb Space Telescope. If something goes wrong, if its not reliable, then it doesnt work. We cant just deploy it again. Its not something logical, its something physical that has to work properly and I think there are a lot of lessons and a lot of inspiration that we can take from this work into our day-to-day lives.
After 30 years of amazing photos from the Hubble Telescope, there was a demand for new business and technical capabilities, including to be able to see through and past clouds as they are created.
When designing the Webb telescope, the design engineers kicked off with the functional requirements, which in turn drove a lot of non-functional requirements. For instance, it needed to be much more powerful and larger than Hubble, but to achieve that it needed a significantly larger mirror. However, an operational constraint arose that the mirror is so large that it doesnt fit into any rocket, so it needed to be broken up into pieces. The non-functional requirement became to create a foldable mirror. A solution arose to break the mirror up into smaller hexagons, which can be aligned together to form a honeycomb-shaped mirror.
The second non-functional requirement of the JWST was to go beyond Hubble in not only seeing invisible light, but in seeing hot infrared light. But, to be accurate, the mirror needs to keep cold. Not just colder, but we need to be able to control the temperatures. Exactly. Because any variation and were going to look at something and think Oh, this is a star. This is a galaxy. Not thats just something there on Webb itself, which is slightly colder or warmer than it should be, Barron explained.
Unlike Hubble which orbits the Earth, Webb is unable to orbit because then its temperatures would vary greatly in sun and shade. Plus, it needs to be much farther away from earth than Hubble has ever gone. With this in mind, the controls and antennas face Earth and the telescope faces away with the honeycomb set of mirrors that reflect into a second set of mirrors which then sends the images back to the cameras, which are located in the middle of the honeycomb mirrors. Then behind it is a massive set of sunshades that work to control the temperature of the telescope.
When NASA decided back in 1995 to make this next-generation space telescope, the agency assumed itd cost about a billion dollars. In 2003, they started to design it, and they realized that its not just scaling up Hubble, we need technological breakthroughs the foldable mirrors, precise control of the temperature, the unfurling of the heat shields, and so on, said Barron. Over the next four years of high-level design, they moved the budget to $3.5 billion and planned on another billion for a decade of operations.
Then between 2007 and 2021, NASA dove into the design, build and test phase of what was named the James Webb Space Telescope.
Like good SREs we test and, because we have ten technological breakthroughs that we need to achieve, we have a lot of failures, Barron said. So we retest and fail, and retest and fail. And this takes a lot of time, and the project is nearly canceled many times. And eventually it costs $9.5 billion dollars just to build it. And that $1 billion that we thought would be enough to operate for 10 years is only going to be enough to operate for five years.
All things considered, the JWST was launched in December of last year, kicking off its operation, and what Barron referred to as pirouetting and ballet moves through space.
You can see that over a period of 13 days that the telescope, like a butterfly, opens up, spreads its wings, and started reporting home. And then starts going further away from Earth until it reaches the location where it will remain for the next decade, he explained. This journey took a total of 30 days.
As of the WTF is SRE event that Barron spoke at the end of April, the JWST was considered mid-deployment, before reaching production were doing the final tests before we can say that the system is working and can start giving actual scientific data.
During this deployment phase, there are so many components and pieces moving and changing, it uncovered many points of failure 344 to be exact.
Webb is famous for having over 300 single points of failure during this process of 30 days, each of which has to go perfectly, each of which if the fails, the entire telescope will not be able to function, Barron explained.
When those first exceptional photos came back, discovering new, fainter galaxies, was it luck or a feat of extreme site reliability engineering?
How did NASA reach the point where they could send $10 billion worth of satellite out into space without being able to fix anything without being able to reach out with an astronaut to say, Oh, I need to move something, I need to restart something, I need to do something manual. How can the system be completely fully automated? And can I trust that no dragons will come from outer space and do something to the telescope which will cause it to fail?
Robert Barron @FlyingBarron
You could say this is more than a leap of faith. That trust that NASA had in all this working properly, Barron believes, comes from its decades-long history of sending crafts into space, which is grounded in the values of:
Both the Voyager spacecraft that went to Jupiter, Saturn, Uranus, and Neptune and the Mars Rover were actually sets of identical twin crafts, in case one failed. Similarly, constellations of satellites work in tandem as fail-safes. This redundancy has long been embraced by NASA, but wasnt the option with the JWST price tag.
When redundancy is out, NASA next reaches for repairability. The Hubble Telescope has been repaired and upgraded multiple times for both fixes and preventive maintenance. And, according to Barron, 50% of the astronaut time on the International Space Station is actually spent on toil.
If the astronauts left the International Space Station, then, in a very short period of time, it would just break down and theyd be forced to send it back down into the atmosphere to burn up, he explained.
But, again, the non-functional requirement of repairability was also not an option for the Webb Telescope because it is floating far beyond the current capability of astronauts.
So the next step toward reliability came from building the JWST out of component architecture.
Barron went through a brief history of the Space Race between the Soviet Union and the U.S. from 1960 to 1988. He uncovered the pattern that redundancy didnt actually matter much because the failure modes were shared in both crafts each time, like an alloy wasnt durable enough or a launch was during a sandstorm. He did note that the Soviet space program chose not to publish their mistakes, so they were less likely than NASA to learn from them.
Redundancy is very good, but sometimes at a system level, it doesnt solve a problem because the problem is much wider, which Barron said happens to SREs as well. Kubernetes, for example, has componentization, redundancy and load balancing built-in, but that doesnt matter if the problem is with the DNS or an application bug. Often reliability demands more than simple redundancy.
The monolith Hubble was designed from the start with repairability and upgradeability in mind. With this repairability out of the picture, there had to be a lot more testing on Webb versus Hubble, for each single point of failure. For example, each mirror was a smaller component that could be realigned remotely. He analogized this to Kubernetes, where you want to allocate the right amount of CPU, memories, and resources available to each and every microservice.
In fact, Webb saw some observability trade-offs because it could only allow for so many selfie cameras to observe its own condition because adding more could affect the temperature and alter its observations.
Theres no doubt that the James Web Space Telescope SRE strategy has more stakes than any enacted on Earth. It still makes for a fantastic example of how site reliability engineering and observability needs vary within the context of circumstances. And that sometimes chaos engineering can only be performed before it goes into production.
Barron observed some of the JWSTs SRE strategy:
The JWST experiment is also a good reminder that, with fewer stakes than NASA, much more frequent, smaller deployment cadence, and with less than 100% uptime required, you can experiment more with redundancy, repairability and reliability to continuously improve your systems. Under ideally significantly less pressure.
As SREs, we dont want to aim for 100% availability. We want the right amount of availability, and we dont want to overspend neither resources nor budget in order to get there. We dont want to embrace too many new technologies for new products, Barron said. A lot of the lessons from Webb are what not to do.
Disclosure: The author of this article was a host of the WTF is SRE conference.
The New Stack is a wholly owned subsidiary of Insight Partners, an investor in the following companies mentioned in this article: Saturn.
Follow this link:
James Webb Space Telescope and 344 Single Points of Failure - thenewstack.io
- The Amazing Universe of the Hubble Telescope [National Geographic Documentary] - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Hubble Telescope - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Hubble Telescope Shows Spiral Black Hole Powered Jet | NASA Space Science HD - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Hubble Telescope Above Earth Motion Background - Video [Last Updated On: April 28th, 2014] [Originally Added On: April 28th, 2014]
- Hubble pictures show offers Biblical view of space [Last Updated On: April 28th, 2014] [Originally Added On: April 28th, 2014]
- Space Music Our Universe Hubble Telescope Images - Video [Last Updated On: April 30th, 2014] [Originally Added On: April 30th, 2014]
- Hubble telescope's launch celebrates 24th anniversary [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- Inventor of the camera used on Hubble telescope has died [Last Updated On: May 2nd, 2014] [Originally Added On: May 2nd, 2014]
- Designer Uses NASA Hubble Telescope Images For Line Of Fantastically Ethereal Silk - Video [Last Updated On: May 3rd, 2014] [Originally Added On: May 3rd, 2014]
- Designer Uses Hubble Telescope Images For Her Line Of Fantastically Ethereal Silk - Video [Last Updated On: May 4th, 2014] [Originally Added On: May 4th, 2014]
- NOVA SCIENCE NOW - FIRST PRIMATES, KILLER MICROBE, HUBBLE TELESCOPE - Discovery Documentary - Video [Last Updated On: May 7th, 2014] [Originally Added On: May 7th, 2014]
- Hubble Telescope Captures Light Echoes - Video [Last Updated On: May 7th, 2014] [Originally Added On: May 7th, 2014]
- NOVA SCIENCE NOW - THE HUBBLE TELESCOPE, MEMORY LEARNING - Discovery Universe (documentary) - Video [Last Updated On: May 7th, 2014] [Originally Added On: May 7th, 2014]
- Saturn movie from Hubble telescope 1 - Video [Last Updated On: May 9th, 2014] [Originally Added On: May 9th, 2014]
- STS-61 December 7, 1993 Shuttle Endeavour Hubble Telescope repair mission - Video [Last Updated On: May 9th, 2014] [Originally Added On: May 9th, 2014]
- Hubble Telescope Views Auroras on Saturn-NASA Space Science Video.mp4 - Video [Last Updated On: May 12th, 2014] [Originally Added On: May 12th, 2014]
- Motion Graphics - Hubble Telescope V1 - Video [Last Updated On: May 12th, 2014] [Originally Added On: May 12th, 2014]
- Dr Robert Williams, Director of Hubble Telescope - Video [Last Updated On: May 12th, 2014] [Originally Added On: May 12th, 2014]
- NASA Taking At Look At The Numbers As The Hubble Space Telescope Enters Its 25th Year [Last Updated On: May 13th, 2014] [Originally Added On: May 13th, 2014]
- Hubble Telescope Data Used in Art-Hubblecast 63-ESA Space Science HD Video - Video [Last Updated On: May 17th, 2014] [Originally Added On: May 17th, 2014]
- Hubble Telescope Zooms in on the COSMOS Field-ESA Space Science HD Video.mp4 - Video [Last Updated On: May 17th, 2014] [Originally Added On: May 17th, 2014]
- Hubble Telescope 10 of the Best Images: Alien Worlds as seen from the Hubble Space telescope - Video [Last Updated On: May 17th, 2014] [Originally Added On: May 17th, 2014]
- UFO Caught on Hubble Telescope - Video [Last Updated On: May 19th, 2014] [Originally Added On: May 19th, 2014]
- Space-The Hubble Telescope - Video [Last Updated On: May 24th, 2014] [Originally Added On: May 24th, 2014]
- Disk around Star May Be Warped by Unseen Planet (1996) - Video [Last Updated On: May 26th, 2014] [Originally Added On: May 26th, 2014]
- Planet X / Comet ISON : NASA's Hubble Telescope has detected water on 5 Alien Planets (Dec - Video [Last Updated On: May 26th, 2014] [Originally Added On: May 26th, 2014]
- Hubble Telescope provides best view of merging galaxies in distant Universe [Last Updated On: September 1st, 2014] [Originally Added On: September 1st, 2014]
- Disappearance of geysers from Jupiter's Europa moon leaves scientists baffled [Last Updated On: September 6th, 2014] [Originally Added On: September 6th, 2014]
- The Hubble Story | NASA [Last Updated On: September 6th, 2014] [Originally Added On: September 6th, 2014]
- 78 - Hubble Telescope by Sam Manary - Video [Last Updated On: September 12th, 2014] [Originally Added On: September 12th, 2014]
- Hubble Telescope - best images - Video [Last Updated On: September 14th, 2014] [Originally Added On: September 14th, 2014]
- Hubble Telescope Worker Tells All - Video [Last Updated On: September 16th, 2014] [Originally Added On: September 16th, 2014]
- NASA finds tiniest galaxy has 'supermassive' black hole [Last Updated On: September 18th, 2014] [Originally Added On: September 18th, 2014]
- The Universe Through The Hubble Telescope, Space Science Discovery Documentary 2 - Video [Last Updated On: September 19th, 2014] [Originally Added On: September 19th, 2014]
- Hubble Telescope Time Preferentially Goes to Men [Last Updated On: September 20th, 2014] [Originally Added On: September 20th, 2014]
- Mysterious "Bermuda Triangle" in Space Affecting Hubble Telescope - Video [Last Updated On: September 21st, 2014] [Originally Added On: September 21st, 2014]
- Stunning Galaxy Looks Deceptively Young in Hubble Telescope Views (Photo, Video) [Last Updated On: September 25th, 2014] [Originally Added On: September 25th, 2014]
- New Study Looks Into Hubble Telescope Gender Bias [Last Updated On: September 25th, 2014] [Originally Added On: September 25th, 2014]
- Hubble Telescope Study Reveals Evidence Of Bias Against ... [Last Updated On: September 25th, 2014] [Originally Added On: September 25th, 2014]
- Male-led teams more likely to get Hubble Telescope time [Last Updated On: September 27th, 2014] [Originally Added On: September 27th, 2014]
- Research shows gender bias in approval for Hubble Telescope use [Last Updated On: September 27th, 2014] [Originally Added On: September 27th, 2014]
- Rich Hall, 1998 - Video [Last Updated On: September 30th, 2014] [Originally Added On: September 30th, 2014]
- Telescopes History Refractor Reflector Hubble - Video [Last Updated On: October 2nd, 2014] [Originally Added On: October 2nd, 2014]
- Shedding Light- Hubble Telescope - Video [Last Updated On: October 4th, 2014] [Originally Added On: October 4th, 2014]
- Hubble Telescope Ultra Deep Field View 3D - Video [Last Updated On: October 4th, 2014] [Originally Added On: October 4th, 2014]
- Most Beautiful Galaxy? - Video [Last Updated On: October 5th, 2014] [Originally Added On: October 5th, 2014]
- Spiral Galaxy - Video [Last Updated On: October 8th, 2014] [Originally Added On: October 8th, 2014]
- INFORMUCATE: HUBBLE TELESCOPE - Video [Last Updated On: October 8th, 2014] [Originally Added On: October 8th, 2014]
- Week 2 - 20 Years Hubble Telescope NASA Video Cut Down - Video [Last Updated On: October 10th, 2014] [Originally Added On: October 10th, 2014]
- The explosive beauty of a dying star [Last Updated On: October 15th, 2014] [Originally Added On: October 15th, 2014]
- New Horizons space mission with Boulder ties finds new targets beyond Pluto [Last Updated On: October 16th, 2014] [Originally Added On: October 16th, 2014]
- Hubble Telescope Finds Potential Kuiper Belt Targets for New Horizons Pluto Mission [Last Updated On: October 16th, 2014] [Originally Added On: October 16th, 2014]
- NASA's Hubble Telescope Finds Potential Kuiper Belt Targets for New Horizons Pluto Mission [Last Updated On: October 16th, 2014] [Originally Added On: October 16th, 2014]
- NASAs Hubble Telescope Finds Kuiper Belt object (KBO) Targets for New Horizons Pluto Mission - Video [Last Updated On: October 16th, 2014] [Originally Added On: October 16th, 2014]
- NOVA ScienceNow s04e07 Saving Hubble Update, Gangster Birds, How Memory Works - Video [Last Updated On: October 19th, 2014] [Originally Added On: October 19th, 2014]
- Amazing Naked Universe - Revealing Pictures from Hubble Telescope - Video [Last Updated On: October 21st, 2014] [Originally Added On: October 21st, 2014]
- The Universe Through The Hubble Telescope Full Documentary - Video [Last Updated On: October 21st, 2014] [Originally Added On: October 21st, 2014]
- Things That Led Up To The Hubble Telescope - Video [Last Updated On: October 23rd, 2014] [Originally Added On: October 23rd, 2014]
- Amazing Journey Into A Galaxy of Stars-NASA's Hubble Telescope - Video [Last Updated On: October 23rd, 2014] [Originally Added On: October 23rd, 2014]
- The Documentary Universe Through The Hubble Telescope - Video [Last Updated On: October 23rd, 2014] [Originally Added On: October 23rd, 2014]
- Wow! This Hubble Telescope Photo of Mars with a Comet Is Amazing [Last Updated On: October 24th, 2014] [Originally Added On: October 24th, 2014]
- BREAKING NEWS - Hubble Telescope Discovers UFO - Video [Last Updated On: October 24th, 2014] [Originally Added On: October 24th, 2014]
- THE HUBBLE TELESCOPE - AMAZING UNIVERSE - Discovery Science Space (full documentary) - Video [Last Updated On: October 25th, 2014] [Originally Added On: October 25th, 2014]
- I Am a Star - Video [Last Updated On: October 26th, 2014] [Originally Added On: October 26th, 2014]
- Nasa's Hubble Spots Jupiter Staring Back at us Through 'Cyclops Eye' [Last Updated On: October 30th, 2014] [Originally Added On: October 30th, 2014]
- Hubble telescope caught in staring contest with Jupiter [Last Updated On: October 30th, 2014] [Originally Added On: October 30th, 2014]
- Ghost Light From Distant Dead Galaxies Detected By Hubble Telescope [Last Updated On: October 31st, 2014] [Originally Added On: October 31st, 2014]
- Hubble Telescope makes a 'ghostly' discovery billions of light years away [Last Updated On: October 31st, 2014] [Originally Added On: October 31st, 2014]
- NASAs Hubble Telescope Spots Ghost Light From Dead Galaxies [Last Updated On: October 31st, 2014] [Originally Added On: October 31st, 2014]
- Best 100 Hubble images of cosmos - Video [Last Updated On: November 1st, 2014] [Originally Added On: November 1st, 2014]
- Its Complicated: Hubble Survey Finds Unexpected Diversity in Dusty Discs Around Nearby Stars [Last Updated On: November 8th, 2014] [Originally Added On: November 8th, 2014]
- The Hubble Telescope Operator - Video [Last Updated On: November 8th, 2014] [Originally Added On: November 8th, 2014]
- Astronomers Caught This Amazing Stellar Pulse With The Hubble Telescope [Last Updated On: November 9th, 2014] [Originally Added On: November 9th, 2014]
- Hubble Telescope Operator - Video [Last Updated On: November 9th, 2014] [Originally Added On: November 9th, 2014]
- Hubble Rumble in the Hood Happening November 20 at Lilly's Bistro [Last Updated On: November 11th, 2014] [Originally Added On: November 11th, 2014]
- Kelly-Hubble Telescope 11.09.14 - Video [Last Updated On: November 11th, 2014] [Originally Added On: November 11th, 2014]
- Hubble telescope runs on ___ power - Video [Last Updated On: November 11th, 2014] [Originally Added On: November 11th, 2014]
- Lead Appointed on Proposed Wide Field Space Telescope [Last Updated On: November 15th, 2014] [Originally Added On: November 15th, 2014]
- NASA's Hubble telescope finds young galaxies on track to becoming 'red and dead' [Last Updated On: November 15th, 2014] [Originally Added On: November 15th, 2014]
- Eyes On The Skies [Last Updated On: November 18th, 2014] [Originally Added On: November 18th, 2014]