3 ms·
Even without thinking about storing some context, replying to NTP request is probably similarly expensive as evaluating whether it should be rate limited.
by dfox 10y ago
Even without thinking about storing some context, replying to NTP request is probably similarly expensive as evaluating whether it should be rate limited.
- coderholic 10y agoYeah exactly this. Rate limiting isn't free. It's almost certainly more expensive to rate limit than to statelessly respond with the time.
- paulgear 10y agoNTP does store context for a limited number of clients (600 by default). https://www.eecis.udel.edu/~mills/ntp/html/miscopt.html https://www.eecis.udel.edu/~mills/ntp/html/miscopt.html