addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupsimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1outlookpersonJoin Group on CardStartprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

A Night of Control Flow and Error Handling

Our talk night this month is a special event where we will dive into the methods, best practices, and real-world stories of control flow and error handling in NodeJS.  We've got a great lineup of presenters including Node Core committer Bert Belder, Alex Gorbatchev of, and BayNode founder Adam Crabtree.  After each speaker has presented, we will have a Q&A panel discussion.

I'd like to thank BayNode sponsor, Stormpath, who will be providing food and beverages for this event.  Be sure to come early to partake in the festivities as well as chat with them about their user management platform.

Schedule of Events

6:30pm - Social time, food, beverages sponsored by Stormpath

7:00pm - Presentations from our guest speakers

8:00pm - Panel discussion

8:30pm - Wrap up discussion & social time


* Bert Belder, Node core commiter & StrongLoop co-Founder

* Alex Gorbatchev, Node software developer, blogger, and creator of npmawesome

* Adam Crabtree, BayNode founder, LinkedIn Node Engineer, TryCatch module author


Thanks to BayNode sponsor StrongLoop, we will have a videographer for this event.  We will post the videos/slides after the event.

*** Speaker Information ***

Zones - Next Generation Async Flow Control for Node.js

Speaker: Bert Belder, Node core commiter & StrongLoop co-Founder
In this talk, Bert Belder will demonstrate a flow control projectcalled "Zone" that he's been working for the last few months. Whyanother async flow control project?
Currently there are a couple of problems that make it really hard toreason about asynchronous control flow in Node:
- Stack traces are useless when an asynchronous function fails- Async functions are hard to compose into more high-level APIs,resulting in callback hell- Async error handling will cause Node to crash
Zones should make it easy to handle errors and to avoid resourceleaks, provide a way to associate user data to an async flow and muchmore!

Asynchrony, Control-flow and Error handling

Speaker: Adam Crabtree, LinkedIn Server Engineer, BayNode Founder
In this talk, Adam Crabtree will discuss the distinction between asynchrony and control-flow, and their intimate connections to error handling.
In modern node.js development, control-flow is the guardian at the gates, dealing with asynchrony and enforcing contracts so you don't have to. Control-flow helps juggle values, handle ordering, deal with errors, and sometimes hide asynchrony types all together.
Additionally, there are many different asynchrony types including callbacks, promises, thunks and async generators and they each handle errors differently. Node.js itself has two very different ways of dealing with errors. Know why, and how it affects the code you write.


Join or login to comment.

  • Ross K.

    Videos have been uploaded, here are the links:

    * Adam's talk:
    * Alex's talk:
    * Bert's talk:
    * Panel discussion:

    Thanks to StrongLoop for sponsoring professional videos!

    4 · June 2, 2014

  • David Y.

    Great Meetup. Really insightful deepdive into control flow.

    June 2, 2014

  • Soma Shekar O.

    I couldn't make it to the meetup. Is it recorded? Is there any meetup happening in near future on the topic?

    1 · May 31, 2014

  • Jae Y.

    Fantastic meetup. I learned a lot. Where can we find the video recording of this?

    May 30, 2014

  • Albert C.

    Incredible meetup. It's been awhile since i've seen something with some real meat. This deep dive was incredibly helpful, and really hammered down on a topic that you don't hear about much, but is super-duper vital to any project. And nice to meet some of the other members at this Meetup.

    May 30, 2014

  • aki

    I just added myself to the waitlist. Do I still have a chance to join this meeting tomorrow?

    May 28, 2014

  • Chien-Chung C.

    Netflix not using Promise, but use this

    May 29, 2014

  • Albert C.

    This may be a weird question given the context, but for anyone experienced in AngularJS, does anyone know what exactly to configure to allow CORS-compliant xhr requests? E.g. setting httpProvider.defaults.headers.common

    May 23, 2014

    • Albert C.

      Turns out that I had to specify the actual up address of the API server

      May 26, 2014

    • Albert C.

      IP address

      May 26, 2014

  • Albert C.

    if anyone needs a (round-trip) ride from San Antonio Rd, lemme know.

    May 23, 2014

    • Albert C.

      Clarification: San Antonio rd and hwy 101

      May 23, 2014

Our Sponsors

  • StrongLoop

    An IBM company helps build node.js & APIs made for cloud.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy