Episode 5: Thinking Asynchronously
Published Aug 26, 2026 · 12:31 · 11 comments
If you have only ever written synchronous programs, asynchronous code can feel strange at first. This episode looks at the patterns that keep showing up and the traps that catch people out once your code runs asynchronously, and it introduces a flow control library for managing several nested asynchronous operations at once.

Download WebM (21 MB) Download MP4 (49 MB)
Show Notes
This episode was recorded against Node.js v0.8.8. You can look over the downloads and the documentation for that release.
Links
Comments

Brandon, these are really great -- please keep these up. I love RailsCasts -- and I really think this is filling a void in Node-land. I am sure that these take a lot of work, I appreciate the time you are dedicating to this. I am sure you have a long list of things you want to cover: but to add to the list: - express - socket.io - hosting / deployment (best way to provision a ec2 server, or should we use heroku or the like) - templating (mustache, jade, etc ...) Thanks!

when will the new video?

Thank you soo much for the vids so far. I always found it hard to learn Node as most resources talked about node as if you already had a fundamental knowledge of how it worked. At some later date I would also love to see some videos on express and Socket.io, but please do keep the fundamental videos coming, they are brilliant! (Ps. put up a donate button so I can give you a beer!)

Please tell me this is not dead. This is clearly the best node tutorial series I've seen out there.

Agree with Prem all casts are very concise, very informative, just very excellent :)

I hope you have not abandoned the project.

Thanks a lot for posting these videos. The videos helped me understand node and npm. Please continue posting more videos. Requests: Express more on async underscore - I saw you used underscore as an example for npm. What is underscore?

Hi, Nice screencast! This NodeCast will be a good project! I'm from brazil and I am a Node.js enthusiastic. This is my blog and there are a lot of posts about Node.js http://www.udgwebdev.com

I agree with the other folks these video cast are outstanding. The most concise node.js content I have seen to date.

These are super helpful. The content is great and the pacing just right. Thank you.
mikepc, 12 years ago: I want to agree with everyone and say that you are filling in a lot of blanks for me. I really appreciate all your hard work, and would love to see more! Rock on!
Frequently Asked Questions
Copyright © 2012 Brandon Tilley
Node.js is an official trademark of Joyent. This site is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
Asynchronous thinking is a core skill for Node.js developers, and this episode is a starting point for building it. Pair the screencast with the linked source code and the async library references in the show notes to see how nested callbacks can be organized into clearer, more maintainable flows.