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:
- LDNUG September 2017 - #ProgNET Special with Richard Campbell (in London on 12th September 2017)
- Progressive .NET 2017 (in London on 13th - 15th September 2017)
- Fast Track to F# with Tomas Petricek & Phil Trelford (in London on 16th - 17th October 2017)
- Test Driven Development (TDD) Workshop with Damjan Vujnovic (in London on 7th - 8th December 2017)
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 an OSS developer, corporate trainer and architectural consultant specialising in JS, Frontend Development, Node, Distributed System & Performance.