Please log in to watch this conference skillscast.
Express, Hapi, Restify, or just plain Node.js core? Which framework should you choose? In his journey in nodeland, Matteo always wonders about the cost of his abstractions. require(‘http’) can reach 25k requests/sec, Express 9k, and Hapi 2k.
He started a journey to write an HTTP framework with extremely low overhead, and Fastify was born. With its ability to reach an astonishing 20k requests/sec, Fastify can halve your cloud server bill.
How can Fastify be so... fast? Join Matteo and start by analyzing flamegraphs with 0x, and then delve into --v8-options, discovering how to leverage V8’s feedback and optimize your code. He will explore function inlining, optimizations and deoptimizations. You will learn about the tools and the libraries you can use to do performance analysis on your code. In Fastify you reach a point where even allocating a callback is too slow: Ludicrous Speed.
YOU MAY ALSO LIKE:
Take your HTTP server to Ludicrous Speed - Intermediate
Matteo is a code pirate and mad scientist. He spends most of his days programming in node.js, but in the past he worked with Ruby, Java and Objective-C.