Video details

Back Pressure, or, Don't Accept Work Before You're Ready [I]

10.04.2017 at Node.js Interactive


Sam Roberts (IBM)

Back pressure is a network protocol concept that is key to writing node services that perform well under load, and that don't accept more work than they are ready to do or store data without bounds if the data can't be acted on (yet). Scalability is a strength of Node.js, but requires careful construction of data flow in your application to break up CPU processing so multiple large requests can make progress simultaneously. Learn how streams support back pressure and how you can take advantage of it in your applications.
Sam Roberts is a Node.js collaborator, mostly contributing to child and cluster process handling, TLS, and documentation. He arrived at Node.js from C systems programming on undersea submersibles, through PKI and crypto SDK implementation, and then multi-language (Lua/C/Python) networking systems. He eventually found Node.js, a sweet combination of event-driven programming and a dynamic language. He has primarily been working on Node.js support and production tooling, first at StrongLoop, and now at IBM Canada.