How an HTTP header caused time.gov to skew from UTC
(alexsci.com)
from robalex@programming.dev to programming@programming.dev on 05 May 17:18
https://programming.dev/post/49910798
from robalex@programming.dev to programming@programming.dev on 05 May 17:18
https://programming.dev/post/49910798
#programming
threaded - newest
I love a real pregramming blog. I actually wrote my own HTTP frontend for my NTP server. It uses the “new Date()” and doesn’t adjust for RTT.
My approach was for all static content to be cached, which is everything except for the raw timestamp. I also ensured the whole website would fit in a single TCP frame if it had to. No repeat round trips.
Here it is, anyway: ntp.ubermotive.com
I should probably try to get better timing adjustment into it. The primary goal was more an exercise in golfing than anything else. The site is seriously small.