6 ms·
Processing logs in real-time
- mahmud 17y agoJust 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.