Take Your HTTP Server to Ludicrous Speed [I]

  Рет қаралды 23,250

node.js

node.js

Күн бұрын

Take Your HTTP Server to Ludicrous Speed [I] - Matteo Collina, nearForm
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.
About
Matteo Collina
nearForm
Software Architect
Websitenearform.com
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 at nearForm, where he consults for the top brands in world. Matteo is also the author of the Node.js MQTT Broker, Mosca, the fast logger Pino and of the LevelGraph database. Since 2015, he is a Node.js collaborator, where he helps maintaining Streams. Matteo spoke at several international conferences: Node.js Interactive, NodeConf.eu, NodeSummit, LXJS, Distill by Engine Yard, and JsDay to name a few. He is also co-author of the book "Javascript: Best Practices" edited by FAG, Milan. In the summer he loves sailing the Sirocco.

Пікірлер
Everything You Wanted to Know About Logging
25:25
node.js
Рет қаралды 26 М.
Node JS Full Course 2024 | Complete Backend Development Course | Part 1
11:06:05
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 46 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 88 МЛН
REAL MAN 🤣💪🏻
00:35
Kan Andrey
Рет қаралды 39 МЛН
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 35 МЛН
High Performance JS in V8
25:03
node.js
Рет қаралды 14 М.
Scaling Your Node.JS API Like a Boss (Part One)
47:04
Volkan Özçelik
Рет қаралды 26 М.
API vs. SDK: What's the difference?
9:21
IBM Technology
Рет қаралды 1,4 МЛН
The Truth about Rust/WebAssembly Performance
29:47
Greg Johnston
Рет қаралды 184 М.
What is Apache Kafka®?
11:42
Confluent
Рет қаралды 366 М.
Choosing the Best .NET UI Framework for YOUR Project
1:03:53
Diode
0:16
ZS Electrical Work
Рет қаралды 4,5 МЛН
👍🏻 Samsung Galaxy A56 - ЕГО ЗАХОТЯТ ВСЕ! Xiaomi так не сможет…
12:05
Thebox - о технике и гаджетах
Рет қаралды 135 М.
The M4 Mac Mini is Incredible!
11:45
Marques Brownlee
Рет қаралды 4,3 МЛН
Lightning + Apple + Pencil
0:14
Ideas 1+1
Рет қаралды 15 МЛН
Low Battery 🪫🥹🥹🥹
0:10
dednahype
Рет қаралды 5 МЛН