We're facing some pino logging issues and considering enabling sync: true to fix those. However, it's hard to make that tradeoff without understand the performance impact. The docs mention that "asynchronous logging enables the minimum overhead of Pino", but don't explain more than that.
Of course, this is application-specific and we can do a full benchmarking setup. That takes a lot of time though. It'd be very helpful to know for a standard Node.js webserver whether enabling sync: true usually has a 2x speed decrease or a 100x speed decrease. It'd be amazing to add thisĀ info in the docs.
I tried finding a forum/Slack/Discord of Pino users to ask this question, but I couldn't find any so I'm asking it here instead.
We're facing some pino logging issues and considering enabling
sync: true
to fix those. However, it's hard to make that tradeoff without understand the performance impact. The docs mention that "asynchronous logging enables the minimum overhead of Pino", but don't explain more than that.Of course, this is application-specific and we can do a full benchmarking setup. That takes a lot of time though. It'd be very helpful to know for a standard Node.js webserver whether enabling
sync: true
usually has a 2x speed decrease or a 100x speed decrease. It'd be amazing to add thisĀ info in the docs.I tried finding a forum/Slack/Discord of Pino users to ask this question, but I couldn't find any so I'm asking it here instead.