JavaScript Talks
llhttp - new HTTP 1.1 parser for Node.js | JS Conf 2019

llhttp - new HTTP 1.1 parser for Node.js | JS Conf 2019

JavaScript Talks

23:58

About this episode

Node.js has been using a derivative of nginx’s parser with a lot of customization/rewrite since its inception. Despite being fast enough, the project architecture made it very hard to maintain in a long run. To mitigate that, the author has created a tool to generate the new HTTP parser called “llhttp” from the TypeScript code in understandable, verifiable, and maintainable way. Incidentally, the performance of “llhttp” is two times better than of the old parser. In this talk we’ll walk through the basics of generating such parsers and how “llhttp” works.

More from JavaScript Talks

Remember loving to read comics on a Sunday afternoon when you were a kid? Maybe you don’t. In the past, traditional print comics have made it impossible for blind and visually-impaired readers to expe…

27m

In 2009 I was managing Yahoo’s tech event budget when we agreed to sponsor the very first JSConf, the one that almost didn’t happen, the one that started something… And though I’ve still never attende…

23m

There’s a divisive movement around the world which has arguable impacted the software development community. How can we remain open-minded and respectful when talking about different programming parad…

12m

Until 1992, the web was largely textual, reserved almost exclusively to academia, with the charm of searching for library books via card catalogs. The sea change came when a browser allowed for both t…

23m