When a customer comes to us with a complaint that their code is running slowly, our first question has become, "Are you using Promises?". When they predictably tell us yes, our response has become, "You're likely using them wrong". In this talk, we'll discuss the various ways Promises are abused.
We'll talk about why that ends up needlessly slowing Node.js applications down. And we'll talk about how to use Promises correctly, the way they were intended to be used.
James has 20+ years' experience in the software industry and is a well-known figure in the global Node.js community. He has been an author, co-author, contributor, or editor of several W3C semantic web and IETF internet standards. He is a core contributor to the Node.js project, is a member of the Node.js Technical Steering Committee (TSC), and has served on the Node.js Foundation Board of Directors as the TSC representative.
Prior to joining NearForm, James spent 16 years at IBM focusing on open standards, open-source, and Enterprise adoption of emerging technologies.
This talk was given at NodeJS Interactive Montreal 2019. Need Node experts for your next project? Contact Us to see how we can help!