News for hackers. Stuff that matters.
Re:Run JavaScript on Cloudflare with Workers by devwastaken on Wednesday March 14, 2018 @08:33AM (#16584297)
Are the server edge-points true to UTC Time? As in, are they synced with something like NTP? There is a severe lack of accurate time coming from edge-points in systems such as AWS Lambda, and no one appears to be confirming if they do or don't make sure their time is correct.

It would be incredibly useful if there was an edge-point service that could return linux epoch time in milliseconds (Thats accuraet to withing a 1ms of UTC time). I've been working on a Live broadcasting syncing system and there really wouldn't be anyone in a better position than CDN's with lambda-like functionality.

Re:Run JavaScript on Cloudflare with Workers by kentonv on Wednesday March 14, 2018 @11:03AM (#16585196)
This isn't my department, but I'd assume our servers have accurate time. But I'd also assume Amazon has accurate time, and you say they don't, so maybe I don't know anything.

Then again being accurate to 1ms worldwide sounds like one of those problems that runs up against the speed of light? We don't have atomic clocks like Google does...

Re:Run JavaScript on Cloudflare with Workers by devwastaken on Wednesday March 14, 2018 @05:29PM (#16588459)
Atomic clocks would get you far below the 1ms threshold. I'll rephrase to within 25ms, since that can be pretty acceptable and doable across the internet by just popping up NTP.

Without a synchronizing service, time can't be trusted to be accurate. Time should always (try) be absolute to a global time, and not individual clocks a devop manually put some numbers in for.

Re:Run JavaScript on Cloudflare with Workers by kentonv on Wednesday March 14, 2018 @11:34PM (#16590250)
Right, I just find it shocking that AWS wouldn't be running NTP. But I'm not a sysadmin, I dunno.
Re:Run JavaScript on Cloudflare with Workers by devwastaken on Sunday March 18, 2018 @02:33AM (#16610706)
Correction, it may not be under Amazon API service. Apologies.