Return to site

Here Is What’s Common Between NASA Astronauts And Node.js

· Web Development
broken image

Horrifyingly, during an assisted spacewalk back in 2013, an Italian astronaut Luca Parmitano was confronted with a danger of unimaginable magnitude. His water-filled helmet started leaking, allowing water to dangerously enter his eyes, ears, and nose in Zero-G. Soon his senses marooned him, making it hard for him to breathe, he started gasping.

A few bone-chilling moments later, Chris Cassidy guides Luca to the safety airlock just in the nick of time and begin repressurising his spacesuit. "The minutes of repressurization crawl by and finally, with an unexpected wave of relief, I see the internal door open and the whole team assembled there ready to help," Parmitano wrote. "They pull me out and as quickly as possible, Karen unfastens my helmet and carefully lifts it over my head."

After calling off all non-emergency spacewalks and undertaking an excruciating investigation, NASA went into the depth of what had happened and figured out a solution. Also, since it was a government project, they were looking to maximise on efficiencies and waste not a single penny.

Collin Estes, Director of Software Engineering and Chief Architect at Mathematical Research Institute Technologies, said, “We took that on as a challenge, to not just continue to support our systems today, but also to make this conscious migration into the cloud with this web API, and to do that with no additional contract cost. My model centered around creating a an API-driven Node.js enterprise architecture.”

Why did they choose Node.js?

  • Node.js has an impeccable ability to provide ease of developing data transfer applications with JavaScript, and also radiates the familiarity across the organization with the programming language. This directly leads to development time getting doubled while keeping the costs in check.
  • When you hire Node.js developer, the asynchronous event loop for I/O operations makes it dramatically easy for him to find the perfect solution for a cloud-based database system. It identifies queries from a myriad of users requiring data immediately.
  • More importantly, the npm, Node.js package manager, pairs stunningly well with Docker in order to create a microservices architecture allowing each API, function and application to operate smoothly and independently.

How npm and Docker Holds The Airlocks Tight
According to Estes, all their high order database functions are divided into separate applications. Oracle forms and reports system today will eventually be a collection of 15 to 25 separate application modules and API modules. In this manner, the data is always accessible and easily available. On the other hand, older databases sometimes refuse to cooperate with each other.

They use Docker to make sure everything runs smoothly and crack down on a impending danger. The Docker compartmentalizes the applications, allowing the code, runtime, tools, system libraries, etc live independently from the rest of the system.

Currently, they have multiple Node.js services that are running on a single host, and some of the dependencies to connect to Oracle require older versions of Node.js than thier other services would.

Conclusion
Their ultimate goal is to make sure that the data gets moved to the cloud without errors, and remains accessible at all times. When it comes to keeping in mind the safety of astronauts on the line, even little hiccups, service interruptions or the minutest of the glitches can turn into life-and-death situations. Node.js has ensured there is a safe home for everything and everyone, on earth or in space!