Categories: CloudCloud Management

How AWS Plans To Deal With This Year’s Leap Second

The last minute of June 30, 2015, will be 61 seconds long, as time scientists International Earth Rotation and Reference Systems (IERS) announced that we are just over one month away from a leap second. The extra second is implemented compensate for variation in the rotation of the Earth.

But how do computer systems deal with this extra second? Some systems can only handle up to the ‘:60’ second mark, causing mass malfunctions afterwards as they go out of synchronisation with ‘standardised civil time’.

Amazon Web Services plans to deal with the issue by actually making the entire day slightly longer for its servers, spreading out the extra second through the 12 hours either side of June 30th’s UTC 00:00:00.

Spread

On a blog post, Mingxue Zhao, Senior Product Manager at AWS, explained: “The AWS Management Console and backend systems will NOT implement the leap second. Instead, we will spread the one extra second over a 24-hour period surrounding the leap second by making each second slightly longer. During these 24 hours, AWS clocks may be up to 0.5 second behind or ahead of the standard civil time.”

It’s not just Amazon worried about the leap second either. Despite the occurrence having passed us by 25 times since 1972 (and the leap second taking place on June 30th 2012), the financial markets are getting scared, worried that the mini-Y2K will wreck stock systems.

AWS explained how at 11:59:59 AM June 30th, 2015, AWS clocks will be synchronised to UTC as normal. Then, starting from 12:00:01 PM, Amazon clocks will make each of their seconds 1/86400 longer to fall behind UTC. “The gap gradually increases to up to 1/2 second,” said Zhao. Then at 23:59:60 UTC, when the leap second is ‘injected’, AWS clocks end up being only half a second ahead of UTC. For the next 12 hours, Amazon’s slightly longer second means it keeps falling behind, but with the gap now closing towards the new UTC. Then at 12:00:00 PM July 1st, 2015, the gap shrinks to zero and AWS clocks synchronise to UTC again.

During 2012’s leap second event, websites such as LinkedIn, Reddit and Gawker all experienced technical difficulties, leading to issues in Java-based applications and servers running on Linux. These were using the Network Time Protocol (NTP), a networking protocol for clock synchronisation between computer systems used since 1985. But Amazon said it is leaving the time management of its EC2 instances under user control. “AWS does not manage instance clocks. An instance clock can be affected by many factors,” said the blog post.

“Depending on these factors, it may implement or skip the leap second. It may also be isolated and not synchronise to an external time system. If you need your EC2 instance clocks to be predictable, you can use NTP to synchronize your clocks to time servers of your choice.

Take our Amazon Web Services quiz here!

Ben Sullivan

Ben covers web and technology giants such as Google, Amazon, and Microsoft and their impact on the cloud computing industry, whilst also writing about data centre players and their increasing importance in Europe. He also covers future technologies such as drones, aerospace, science, and the effect of technology on the environment.

Recent Posts

Apple Sales Rise 6 Percent After Early iPhone 16 Demand

Fourth quarter results beat Wall Street expectations, as overall sales rise 6 percent, but EU…

20 hours ago

X’s Community Notes Fails To Stem US Election Misinformation – Report

Hate speech non-profit that defeated Elon Musk's lawsuit, warns X's Community Notes is failing to…

21 hours ago

Google Fined More Than World’s GDP By Russia

Good luck. Russia demands Google pay a fine worth more than the world's total GDP,…

22 hours ago

Spotify, Paramount Sign Up To Use Google Cloud ARM Chips

Google Cloud signs up Spotify, Paramount Global as early customers of its first ARM-based cloud…

2 days ago

Meta Warns Of Accelerating AI Infrastructure Costs

Facebook parent Meta warns of 'significant acceleration' in expenditures on AI infrastructure as revenue, profits…

2 days ago

AI Helps Boost Microsoft Cloud Revenues By 33 Percent

Microsoft says Azure cloud revenues up 33 percent for September quarter as capital expenditures surge…

2 days ago