Multithreaded logging with Pino
November 15, 2021
15:15
Hall B
Remote Talk

Almost every developer thinks that adding one more log line would not decrease the performance of their server... until logging becomes the biggest bottleneck for their systems! We created one of the fastest JSON loggers for Node.js: pino. One of our key decisions was to remove all "transport" to another process (or infrastructure): it reduced both CPU and memory consumption, removing any bottleneck from logging. However, this created friction and lowered the developer experience of using Pino and in-process transports is the most asked feature by our user.
In the upcoming version 7, we will solve this problem and increase throughput at the same time: we are introducing `pino.transport()` to start a worker thread that you can use to transfer your logs safely to other destinations, without sacrificing neither performance nor the developer experience.

Matteo Collina
Matteo Collina
Matteo Collina
Matteo Collina
Matteo Collina
Chief Software Architect and TSC member @nodejs

Known throughout the open source community for his work on Node.js, Fastify and much more, Matteo has more than 15 years of experience in creating and maintaining software people rely on every day. A Technical Director at NearForm, Matteo also co-hosts the OpenHive.JS podcast and regularly delivers talks and workshops at industry events worldwide.

Cancellation Policy

Sponsor Cancellation:

In case of cancellation of the event, we will offer a full refund to all attendees and sponsors.

Attendee cancellations:

Up to 30 days prior to the event – 100% Refund.
30-14 days prior to the event – 50% Refund.
No refund will be offered later than that.