Loading…
This event has ended. Create your own event → Check it out
This event has ended. Create your own
October 4-6, 2017 - Vancouver, BC Canada
Click Here For Information & Registration
View analytic
Wednesday, October 4 • 4:40pm - 5:10pm
Take Your HTTP Server to Ludicrous Speed [I] - Matteo Collina, nearForm

Sign up or log in to save this to your schedule and see who's attending!

Express, Hapi, Restify, or just plain Node.js core? Which framework should I choose? In my journey in nodeland, I always wonder about the cost of my abstractions. require(‘http’) can reach 25k requests/sec, Express 9k, and Hapi 2k.
I 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? We will see start by analyzing flamegraphs with 0x, and then delve into --v8-options, discovering how to leverage V8’s feedback and optimize our code. We will discuss function inlining, optimizations and deoptimizations. We will discuss the tools and the libraries you can use to do performance analysis on your code. In Fastify we reach a point where even allocating a callback is too slow: Ludicrous Speed.

Speakers
avatar for Matteo Collina

Matteo Collina

Software Architect, nearForm
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. In 2014, he defended his Ph.D. thesis titled "Application Platforms for the Internet of Things". Now he is a Software Architect... Read More →



Wednesday October 4, 2017 4:40pm - 5:10pm
West Meeting Room 122