This repository has been archived by the owner on Mar 27, 2021. It is now read-only.
Investigate potentially serious performance implications of seemingly unnecessary thread-per-log message logging implementation #762
Projects
So the serializeAndLog method is called by all "log this sentence to disk" methods in the Slf4jQueryLogger class.
This is incredibly wasteful as for every single line of the log file, a Thread is created and destroyed, which includes :
We should - at the least - run some tests to determine how slow/wasteful this is, assuming realistic logging rates.
My money is that it's really bad and could have a significant effect on performance, assuming that these logging methods are called frequently enough.
The text was updated successfully, but these errors were encountered: