Google Finds Innovative Way to Avoid Leap Seconds

  |   By

Leap Seconds have been in use since the development of atomic clocks and the introduction of the global timescale UTC (Coordinated Universal Time). Leap Seconds prevent the actual time as told by atomic clocks and the physical time, governed by the sun being highest at noon, from drifting apart.

Since UTC began in the 1970’s when UTC was introduced, 24 Leap Seconds have been added. Leap seconds are a point of controversy, but without them, the day would slowly drift into night (albeit after many centuries); however, they do cause problems for some technologies.

NTP servers (Network Time Protocol) implement Leap Seconds by repeating the final second of the day when a Leap Second is introduced. While Leap Second introduction is a rare event, occurring only once or twice a year, for some complex systems that process thousands of events a second this repetition causes problems.

For search engine giants, Google, Leap Seconds can lead to their systems from working during this second, such as in 2005 when some of its clustered systems stopped accepting work. While this didn’t lead to their site from going down, Google wanted to address the problem to prevent any future problems caused by this chronological fudge.

Its solution was to write a program that essentially lied to their computer servers during the day of a Leap Second, making the systems believe the time was slightly ahead of what the NTP servers were telling it.

This gradual speeding up time meant that at the end of a day, when a Leap Second is added, Google’s timeservers do not have to repeat the extra second as the time on its servers would already be a second behind by that point.

Galleon GPS NTP server

Whilst Google’s solution to the Leap Second is ingenious, for most computer systems Leap Seconds cause no problems at all. With a computer network synchronised with an NTP server, Leap Seconds are adjusted automatically at the end of a day and occur only rarely, so most computer systems never notice this small hiccup in time.

 

The Atomic Clock History Accuracy and Uses

  |   By

Most people will have heard of atomic clocks, most people, probably without realising have even used them; however, I doubt many people reading this will have ever seen one. Atomic clocks are highly technical and complicated pieces of machinery. Relying on vacuums, super-coolants such as liquid nitrogen and even lasers, most atomic clocks are only found in laboratories such as NIST (National Institute for Standards and Time) in the US, or NPL (National Physical Laboratory) in the UK.

NPL's atomic clock

No other form of timekeeping is as accurate as an atomic clock. Atomic clocks form the basis of world’s global timescale UTC (Coordinated Universal Time). Even the length Earth’s spin requires manipulation by the addition of leap seconds to UTC to keep the day synchronised.

Atomic clocks work by using the oscillating changes of atoms during different energy states. Caesium is the preferred atom used in atomic clocks, which oscillates 9,192,631,770 times a second. This is a constant effect too, so much so that a second is now defined by this many oscillations of the caesium atom.

Louis Essen built the first accurate atomic clock in 1955 at the National Physical Laboratory in the UK, since then atomic clocks have become increasingly more accurate with modern atomic clocks able to maintain time for over a million years without ever losing a second.

In 1961, UTC became the world’s global timescale, and by 1967, the International System of Units adopted the Caesium frequency as the official second.

Since then, atomic clocks have become part of modern technology. Onboard every GPS satellite, atomic clocks beam time signals to Earth, enabling satellite navigation systems in car, boats and aeroplanes to judge their locations precisely.

UTC time is also essential for trade in the modern world. With computer networks speaking to each other across timezones, using atomic clocks as a reference prevents errors, ensures security and provides reliable data transfer.

Receiving a signal from an atomic clock for computer time synchronisation is incredibly easy. NTP time servers that receive the time signal from GPS satellites, or those broadcast on radio waves from places NPL and NIST, enable computer networks across the globe to keep secure and accurate time.

Oddities of Time and the Importance of Accuracy

  |   By

Most of us think we know what the time it is. At a glance of our wristwatches or wall clocks, we can tell what time it is. We also think we have a pretty good idea of the speed time move forwards, a second, a minute, an hour or a day are pretty well-defined; however, these units of time are completely man-made and are not as constant as we may think.

Time is an abstract concept, while we may think it is the same for everybody, time is affected by its interaction with the universe. Gravity, for instance, as Einstein observed, has the ability to warp space-time altering the speed in which time passes, and while we all live on the same planet, under the same gravitational forces, there are subtle differences in the speed in which time passes.

Using atomic clocks, scientists are able to establish the effect Earth’s gravity has on time. The high above sea level an atomic clock is placed, the quicker time travels. While these differences are minute, these experiments clearly demonstrate that Einstein’s postulations were correct.

Atomic clocks have been used to demonstrate some of Einstein’s other theories regarding time too. In his theories of relativity, Einstein argued that speed is another factor that affects the speed at which time passes. By placing atomic clocks on orbiting spacecraft or aeroplanes travelling at speed, the time measured by these clocks differs to clocks left static on Earth, another indication that Einstein was right.

Before atomic clocks, measuring time to such degrees of accuracy was impossible, but since their invention in the 1950’s, not only have Einstein’s postulations proved right, but also we have discovered some other unusual aspects to how we regard time.

While most of us think of a day as 24-hours, with every day being the same length, atomic clocks have shown that each day varies. Furthermore, atomic clocks have also shown that the Earth’s rotation is gradually slowing down, meaning that days are getting slowly longer.

Because of these changes to time, the world’s global timescale, UTC (Coordinated Universal Time) needs occasional adjustments. Every six months or so, leap seconds are added to ensure UTC runs at the same rate as an Earth day, accounting for the gradual slowing down of the planet’s spin.

For technologies that require high levels of accuracy, these regular adjustments of time are accounted for by the time protocol NTP (Network Time Protocol) so a computer network using an NTP time server is always kept true to UTC.

British Atomic Clock Leads Race for Accuracy

  |   By

Researchers have discovered that the British atomic clock controlled by the UK’s National Physical Laboratory (NPL) is the most accurate in the world.

NPL’s CsF2 caesium fountain atomic clock is so accurate that it wouldn’t drift by a second in 138 million years, nearly twice as accurate as first thought.

Researchers have now discovered the clock is accurate to one part in 4,300,000,000,000,000 making it the most accurate atomic clock in the world.

The CsF2 clock uses the energy state of caesium atoms to keep time. With a frequency of 9,192,631,770 peaks and troughs every second, this resonance now governs the international standard for an official second.

The international standard of time—UTC—is governed by six atomic clocks, including the CsF2, two clocks in France, one in Germany and one in the USA, so this unexpected increase in accuracy means the global timescale is even more reliable than first thought.

UTC is essential for modern technologies, especially with so much global communication and trade being conducted across the internet, across borders, and across timezones.

UTC enables separate computer networks in different parts of the world to keep exactly the same time, and because of its importance accuracy and precision is essential, especially when you consider the types of transactions now conducted online, such as the buying of stocks and shares and global banking.

Receiving UTC requires the use of a time server and the protocol NTP (Network Time Protocol). Time servers receive a source of UTC direct from atomic clocks sources such as NPL, who broadcast a time signal over long wave radio, and the GPS network (GPS satellites all transmit atomic clock time signals, which is how satellite navigation systems calculate position by working out the difference in time between multiple GPS signals.)

NTP keeps all computers accurate to UTC by continuously checking each system clock and adjusting for any drift compared to the UTC time signal. By using an NTP time server, a network of computers is able to remain within a few milliseconds of UTC preventing any errors, ensuring security and providing an attestable source of accurate time.