Tick-tock, Facebook: Not A Reference To That Short Vid Horsepuckey But A Literal Open-source Timekeeper

Facebook has taken a break from its social media shenanigans to open-source the specifications for its timekeeping device, the Open Compute Time Appliance.

Basically, it's a PCI Express card that uses a Global Navigation Satellite System (GNSS) and oscillator to provide an authoritative source of time. Stick the card into a vacant slot and hey presto – an ordinary server can become a time appliance.

Timelords

Facebook has been working on the problem for a while. While users might sometimes wonder at the seeming randomness of their timeline, keeping server time synchronised and accurate is important when it comes to infrastructure management and distributed databases.

Back in March 2020 the social media giant confirmed it was in the process of switching over to a new timekeeping service based on the Network Time Protocol (NTP.) The update, according to Facebook, increased the accuracy of timekeeping in its infrastructure from 10 milliseconds to 100 microseconds.

However, the new architecture uses a Stratum 1. This component is linked to a source of time such as a GNSS or a caesium clock. Facebook's idea is that, rather than depend on something like time.facebook.com for their Stratum 1, which is an one that might suffer a wobble if connectivity were lost, how about companies use a Time Appliance instead?

The approach is hardly new, and such appliances have been available off-the-shelf for years. Problems, however, include a distinct lean toward a proprietary world which, in turn, can make things expensive and more difficult to support.

Thus Facebook has designed and open sourced a Time Card. The PCI Express card includes a GNSS receiver to provide Time of Day (ToD) and one pulse per second (PPS.) An oscillator (such as an atomic clock) backs things up in the event the GNSS signal is lost and an off-the-shelf network card (the NVIDIA Mellanox ConnectX-6 Dx was Facebook's initial choice) sends the time out over the network.

It is undoubtedly a neat bit of tech and free from vendor lock-in. The specifications, source code and schematics can all be found on GitHub should one wish to roll one's own. The driver for the Time Card lurks in the Linux kernel from version 5.15, or can be built on 5.12 or later.

Hardware-wise, pretty much any PC will do the job so long as it has enough spare PCIe slots and we reckon somebody handy with a soldering iron, the necessary components and access to PCB printing could make a decent fist of making their own Time Appliance for considerably less than buying one off-the-shelf.

A weekend project, perhaps? It'd certainly be an improvement than sitting around and, er, scrolling through Facebook. ®

RECENT NEWS

From Chip War To Cloud War: The Next Frontier In Global Tech Competition

The global chip war, characterized by intense competition among nations and corporations for supremacy in semiconductor ... Read more

The High Stakes Of Tech Regulation: Security Risks And Market Dynamics

The influence of tech giants in the global economy continues to grow, raising crucial questions about how to balance sec... Read more

The Tyranny Of Instagram Interiors: Why It's Time To Break Free From Algorithm-Driven Aesthetics

Instagram has become a dominant force in shaping interior design trends, offering a seemingly endless stream of inspirat... Read more

The Data Crunch In AI: Strategies For Sustainability

Exploring solutions to the imminent exhaustion of internet data for AI training.As the artificial intelligence (AI) indu... Read more

Google Abandons Four-Year Effort To Remove Cookies From Chrome Browser

After four years of dedicated effort, Google has decided to abandon its plan to remove third-party cookies from its Chro... Read more

LinkedIn Embraces AI And Gamification To Drive User Engagement And Revenue

In an effort to tackle slowing revenue growth and enhance user engagement, LinkedIn is turning to artificial intelligenc... Read more