Special guest Matteo Collina about Fastify and GraphQL
After the urgent need to learn, share and connect, LINKIT will proudly host the first Nodejs Community Netherlands meetup. These presentations, given by our Special Guest Matteo Collina (member of the Node.js Technical Steering Committee) can't be missed!
You will have Ping-pong, pool table, foosball, darts, beers and - of course! - food!!
18:00 – Doors open. Food & drinks provided
19:00 – Matteo Collina - Take your HTTP server to Ludicrous Speed
19:45 – Break
20:00 – Matteo Collina - GraphQL - accelerated
21:00 – Pool, laughing, networking and drinks until someone kicks us out!
Take your HTTP server to Ludicrous Speed
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 clinic flame, 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.
GraphQL - accelerated
GraphQL is a query language that is rapidly gaining wide adoption across the community.
It combines type validation with a query and filtering syntax that makes it easy to get up-and-running with a powerful web API in almost no time. Features like running parallel queries or update-all become much easier, because they are first class citizens of GraphQL. Add to that a vibrant community that keeps creating excellent tooling and documentation, it’s clear why GraphQL has become so popular with developers.
Every abstraction has a cost, and GraphQL is no exception. The added complexity and a new schema format to parse and execute mean new performance bottlenecks. In addition to performance issues, the wrong use of GraphQL can lead to architectural bottlenecks.
Instead of viewing this as a problem we took this as a challenge.In this talk we’ll cover what GraphQL is, why it’s great and how we made it run a lot faster on Node.js, in fact *much* faster, using different performance techniques that we have learned in the last few years.
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 Principal Architect at nearForm, where he consults for the top brands of the world. Matteo is also the author of the Node.js MQTT Broker, Mosca, the fast logger Pino and of the Fastify web framework. Matteo is a member of the Node.js Technical Steering Committee. Matteo spoke at several international conferences: Node.js Interactive, NodeConf.eu, NodeSummit, JSConf.Asia, WebRebels, and JsDay to name a few. He is also co-author of the book “Node.js Cookbook, Third Edition” edited by Packt. In the summer he loves sailing the Sirocco.
Check the following link for more information and to sign up for the Nodejs Community Netherlands Meetup with Matteo Collina (member of the Node.js Technical Steering Committee): https://www.meetup.com/Node-js-Community-Netherlands/events/255160175/