Please log in to watch this conference skillscast.
Sunday morning and your phone rings: production is down. After two hours, you manage to solve it: you could have fixed it in one minute if you had the right information from the start. First thing in the morning, you add logging everywhere, to avoid this issue and be able to triage and solve problems easily. Now your application requires twice as many servers to cater to the same demand.
During this talk, you will explore building Pino, a JSON\n logger that’s up to 17 times faster than pre-existing loggers, with a growing ecosystem of support libraries, including high performance integration with Express, Hapi, Koa and Restify.
How did we make it so fast? After showing what Pino can do, you will discover Matteo and David's tooling: 0x for flamegraphs, and autocannon for HTTP/1.1 benchmarking. Then we’ll discuss V8 optimizing compilers, string flattening and other mad-science optimizations that we embedded inside Pino.
YOU MAY ALSO LIKE:
- Speeding Up React SSR with ESX (SkillsCast recorded in July 2019)
- Extreme Java: Concurrency Performance with Dr Heinz Kabutz (Online Course on 31st March - 2nd April 2021)
- NodeJS, ML, K8s and Unethical Face Recognition (SkillsCast recorded in December 2020)
- F# for a Real World E-commerce Project (SkillsCast recorded in October 2020)
The Cost of Logging - 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.
David Mark Clements is a Principal Architect, fullstack/React and Node.js performance specialist and the author of Node Cookbook. He is currently serving as Principal Architect with NearForm.