Take your HTTP server to Ludicrous Speed with Fastify

In Matteo’s journey through nodeland, he always wondered about the cost of his abstractions. Express, Hapi, Restify, or just plain Node.js core? require (‘http’) can reach 44k requests/sec, Express 28k, and Hapi 21k.

Matteo began a journey to write a HTTP framework with extremely low overhead, and Fastify was born. With its ability to reach an astonishing 47k requests/sec, Fastify can halve your cloud server bill.

How can Fastify be so.. fast? You will discover all the not-so-secret techniques that were used to optimize it. In Fastify you can reach a point where even allocating a callback is too slow: Ludicrous Speed.

As a Technical Director at NearForm, Matteo Collina consults for some of the top brands of the world. Matteo is a member of the Node.js Technical Steering Committee focusing on streams, diagnostics and http. He is also the author of Node.js MQTT Broker, Mosca, the fast logger Pino and of the Fastify web framework.

Source: https://skillsmatter.com/skillscasts/13300-take-your-http-server-to-ludicrous-speed

Top