You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: