11 May
2016
11 May
'16
9:12 p.m.
On May 11, 2016, at 5:42 PM, Scott Weeks <surfer@mauigateway.com> wrote:
Wouldn't the buffers empty in a FIFO manner?
They will empty in whatever order the implementation decides to write them. But what's more important is the order in which the incoming packets are presented to the syslogd process. If you're listening on TCP connections, the receive order is very much determined by the strategy the syslogd implementation uses to read from FDs with available data. I.e. elevator scan, lowest/highest first, circular queue, ... In a threaded implementation, your reader workers, buffer writers, etc., are all at the mercy of the threading implementation; it's difficult to control thread dispatch ordering at that level of granularity. --lyndon