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
I'm asking this because I saw a big hit to performance when using winston-loggly in production, and I'm guessing because it's sending each message individually (including 6,000 - 8,000 access logs per minute, and some multiple of that in other application logs).
The text was updated successfully, but these errors were encountered:
Here's an update straight from Loggly themselves: #6 (comment)
They added bulk support to deal with memory issues and sending so many individual requests. So it looks like this package should not be used, and winston-loggly-bulk should be used instead.
I'm trying to figure out what exactly
isBulk
option does.I see that it's passed on to
loggly.createClient
, butloggly
does not use theisBulk
option..I did notice, however, that the loggly client accepts an array of log messages, and then sends them to the bulk endpoint from the Loggly api. Would it be possible to buffer winston message, and then pass them as an array to the loggly client?
I'm asking this because I saw a big hit to performance when using
winston-loggly
in production, and I'm guessing because it's sending each message individually (including 6,000 - 8,000 access logs per minute, and some multiple of that in other application logs).The text was updated successfully, but these errors were encountered: