Thursday 27 July 2017

QUICK QUESTION: Should we use queues for non-blocking logging?

I have an App using Express which has to scale pretty high and is cloud based. When reading through best practices for logging (I am implementing logging for the first time) I read that you should never let the log interfere with your app as in, take resources that could be used for clients.Does this mean that I should use some kind of queue and work on the logging asynchronously or is it fine to just treat logging as an essential step in the program?If it matters any, I will be using Loggly and their winston-loggly-bulk package.

Submitted July 27, 2017 at 11:17AM by ThatBriandude

No comments:

Post a Comment