News for hackers. Stuff that matters.
Re:Another reason why Docker containers may be slow by rmrfrmrf on Thursday April 05, 2018 @07:45PM (#16769803)
Isn't this kind of thing part of the reason why you log to stdout instead of handling disk writes in your app?
Re:Another reason why Docker containers may be slow by crcl on Thursday April 05, 2018 @08:05PM (#16769922)
A comment in the Medium article asked the same thing. The author's response:

> I agree that piping all logs to stdout would be the best solution in case of Dockerized microservices. It’s just that in our case we were porting an existing system, which a) already heavily relied on logging to files b) consisted of many microservices itself, which we couldn’t yet split into separate Docker containers but also couldn’t pipe all their logs to the same stdout.

Re:Another reason why Docker containers may be slow by rickycook on Friday April 06, 2018 @03:42AM (#16771621)
well that’s just an argument to use a pluggable logging system like in python/log4j where you don’t configure logging in your service/library and leave that up to the implementor. also let’s you log to a structured format like JSON and pipe that to a logging aggregator