by perbu · 11y ago · 0 comments
I suspect this isn't widely used because it relies on POSIX shared memory and support for keeping data structures in SHM isn't widely available.
Aren't you incurring a cost for logging for stuff that would end up being thrown out?
This also removes the rather heisenbergian issue of turning on and off debug logging. In a lot of application turning on debug logging is a surefire way of making sure any race conditions won't occur.
It also means that logging (to disk) will not occur in the performance critical bits of the code. The logging will be fully asynchronous as completely different process will be given the task of persisting the logs.