The lock around logging means that we can have high contention for lots of log events on a multithreaded system. It would be better if we could log to per-thread or even per-task streams, and merge them later. We can probably implement some kind of write-optimized scheme using a linked list.
The lock around logging means that we can have high contention for lots of log events on a multithreaded system. It would be better if we could log to per-thread or even per-task streams, and merge them later. We can probably implement some kind of write-optimized scheme using a linked list.