3 ms·
The choice may be incorrect, but the alternatives aren’t all around optimal, either. A logging system must write each message atomically. That can be done when
by Someone 8y ago
The choice may be incorrect, but the alternatives aren’t all around optimal, either.
A logging system must write each message atomically. That can be done when “writing in blocks using a fixed-size” buffer, but it complicates code, and, I guess, would introduce additional latency (something you really do not want in a logging system) when processes race for using the logging system.