NIST NTP servers

Lyndon Nerenberg lyndon at orthanc.ca
Thu May 12 01:12:03 UTC 2016


> On May 11, 2016, at 5:42 PM, Scott Weeks <surfer at 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



More information about the NANOG mailing list