3 ms·
Just use a message queue with multiple consumers, no need to reinvent the wheel. If your server (or whichever process that's making the log entries) is multi-p
by mahmud 17y ago
Just use a message queue with multiple consumers, no need to reinvent the wheel.
If your server (or whichever process that's making the log entries) is multi-processing (multi-threading, pre-forking, etc.) then all the log entries will be interwoven and mixed, if each log entry is > PIPE_BUF.