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:
Your vote of support is important to us and it helps us keep the content FREE.
One click below supports our mission to provide free, deep, and relevant content.
Join our community on YouTube
Join the community that includes more than 15,000 #CubeAlumni experts, including Amazon.com CEO Andy Jassy, Dell Technologies founder and CEO Michael Dell, Intel CEO Pat Gelsinger, and many more luminaries and experts.
THANK YOU