[ntp:bugs] [Bug 1247] ntpd should use nonblocking I/O for Samba4 DC signing
Danny Mayer via the NTP Bugzilla
bugzilla at ntp.org
Wed Jul 22 11:44:24 UTC 2009
http://bugs.ntp.org/1247
----------------------------------------------------------------------------
Additional Comments From mayer at ntp.org (Danny Mayer)
Submitted on 2009-07-22 11:44
That means that you don't understand the design requirements for NTP. You need
to ignore Samba's design requirements as long as they conflict with NTP's. You
were concerned about using doubly-linked lists that would make things "slow" yet
you didn't see a problem with code that takes a large amount of time to set up
connectivity and tear it down again for *each* request? Consider this comparison:
Stream:
1) create socket
2) connect
3) send
4) receive
7) close socket
Datagram:
1) create socket only at startup of ntpd
2) send
3) receive
A stream socket is an insane choice for a single request and response with all
the setup and teardown required and you are also going to be blocking additional
requests for the same service.
Danny
--
Danny Mayer <mayer at ntp.org>
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the bugs
mailing list