UPDATED 06:30 EDT / APRIL 01 2013

The Birth of Node: Where Did it Come From? Creator Ryan Dahl Shares the History

We get a lot of great guests on theCube, but one of our most popular segments was with Ryan Dahl, the creator of Node, who tells us in his own words how his creation first came about. His story begins about seven years ago, when he saw a demo on Flickr, he believes, where one could post an image and would see the progress bar going and people were blown away.

“You would think the web browser is sending a file…” he said.

“The way that these progress bars is as you’re uploading a file, you reach around on the side and ask the server, ‘how much have I uploaded?’ and the server responds, ‘okay 3 percent, 5 percent’ and so this way the user can kind of see how the progress bar is going.”

Handling multiple requests at once was difficult during that time, Dahl explains, because someone uploading a particular file that could be going on for several minutes at the same time and you have this extra request coming in that needs a response concurrently.

“Turns out, a lot of the frameworks were designed in a way that they made the assumption a request — response is something that happens instantaneously and that your entire web development experience should be abstracted as a function. You get a request, you return a response. That is the extent of your context.”

“Node was originally born out of this problem — how can you handle two things at the same time? Non-blocking sockets is one way. Node is more or less the idea, or exploring the idea: what if everything was non-blocking? What if you never waited for any IO to happen?”

For example, the non-blocking IO, what falls out of that? And pairing that with JavaScript, it turns out you can make a web upload progress bar with this, among other things.

“In early 2009, I had the idea of putting JavaScript and non-blocking IO together and see if something useful could be built, and I worked on that between four and six months before I had a demo I could work with. I showed off the demo at a European conference”

As the interview closed, Dahl proudly said, “I think one thing we do very well with Node is integrate other people into the community. We’re very open about what we’re working on and trying to bring people into the project.”

See Part 1 of Dahl’s captivating segment below:


A message from John Furrier, co-founder of SiliconANGLE:

Support our mission to keep content open and free by engaging with theCUBE community. Join theCUBE’s Alumni Trust Network, where technology leaders connect, share intelligence and create opportunities.

  • 15M+ viewers of theCUBE videos, powering conversations across AI, cloud, cybersecurity and more
  • 11.4k+ theCUBE alumni — Connect with more than 11,400 tech and business leaders shaping the future through a unique trusted-based network.
About SiliconANGLE Media
SiliconANGLE Media is a recognized leader in digital media innovation, uniting breakthrough technology, strategic insights and real-time audience engagement. As the parent company of SiliconANGLE, theCUBE Network, theCUBE Research, CUBE365, theCUBE AI and theCUBE SuperStudios — with flagship locations in Silicon Valley and the New York Stock Exchange — SiliconANGLE Media operates at the intersection of media, technology and AI.

Founded by tech visionaries John Furrier and Dave Vellante, SiliconANGLE Media has built a dynamic ecosystem of industry-leading digital media brands that reach 15+ million elite tech professionals. Our new proprietary theCUBE AI Video Cloud is breaking ground in audience interaction, leveraging theCUBEai.com neural network to help technology companies make data-driven decisions and stay at the forefront of industry conversations.