Story Tools: PRINT | Text Size: S M L XL | REPORT TYPO | SEND YOUR FEEDBACK

Twitter's own 'Y2K' problem

By John Bowman, CBCNews.ca

Back on Blog Watch a few months ago, I wrote about how Unix computer systems tell time by counting the number of seconds since midnight on Jan. 1, 1970, and how in 2038, that number will no longer fit into a 32-bit integer.

Well, Twitter is going to be hitting that limit a lot sooner than that.

Each post on Twitter is given a unique identifying number and Twitter is running out. Once Twitterers create more than 2,147,483,647 posts, Twitter will start giving them negative ID numbers: -1, -2, -3. And third-party apps will likely crash as a result.

According to Twitpocalypse.com, Twitter is quickly approaching 1.85 billion tweets. Martin Dufort and Fred Brunel of WhereCloud, the Montreal developers behind the site, told the Montreal Gazette that Twitter could hit the 32-bit limit sometime in June.

WhereCloud set up Twitpocalypse.com as a marketing campaign for its iPhone app, Reportage, which is still awaiting approval by Apple.

« Previous Post | Main | Next Post »

This discussion is now Open. Submit your Comment.

Comments

Marc B

Saskatoon

Why is this such a big deal? If Twitter was originally built with a signed-32bit integer as their tweet primary key, then we can say at least one or more of the following:

a) Twitter never expected to get this big
b) The developers lacked the knowledge/foresight/intelligence to at least used an UNSIGNED integer as their primary key
c) The developers were too cheap to spend the extra 4 bytes of disk space per tweet to make the primary key 64bit

Posted May 19, 2009 06:08 PM

François Caron

Are you certain of that? It could be a 32 bit unsigned integer. Or if Twitter is running on a 64 bit operating system, the theoretical limit will be reached some 2 BILLION years from now, assuming the same rate of growth.

Posted May 19, 2009 06:53 PM

gukid

So you make one unique identifier for the user, and another for the post of that user, thus exponentially increasing the limit, it's easy. There are actually hundreds of different ways of dealing with this problem.

This, is just a publicity stunt. People will join, and post, to try and "crash" twitter, but it will never happen, and their user base will increase.

Posted May 25, 2009 02:58 PM

Chris Thomson

Twitter's not going to be setting status_ids to negative numbers. As Matt Sanford, a Twitter API developer, has said:

"There is no change to the format of responses and the number will continue to grow upward."

Some clients that cannot properly interpret 32-bit signed ints so large will have an issue with negative numbers.

Posted June 12, 2009 05:32 PM

« Previous Post | Main | Next Post »

Post a Comment

Disclaimer:

Note: By submitting your comments you acknowledge that CBC has the right to reproduce, broadcast and publicize those comments or any part thereof in any manner whatsoever. Please note that due to the volume of e-mails we receive, not all comments will be published, and those that are published will not be edited. But all will be carefully read, considered and appreciated.

Note: Due to volume there will be a delay before your comment is processed. Your comment will go through even if you leave this page immediately afterwards.

Privacy Policy | Submissions Policy

[an error occurred while processing this directive]
Story Tools: PRINT | Text Size: S M L XL | REPORT TYPO | SEND YOUR FEEDBACK

World »

New Australia complains to WTO about Canadian rules on selling wine
Australia has complained at the World Trade Organization about the rules applied to sales of wine by Canada and various provinces, a WTO filing showed on Tuesday.
Japan's public broadcaster sends false alarm about North Korean missile
Japanese public broadcaster NHK issued a false alarm about a North Korean missile launch on Tuesday, just days after a similar gaffe caused panic in Hawaii, but the broadcaster managed to correct the error within minutes.
Ex-Trump chief strategist Steve Bannon meeting with House panel on Russia
U.S. President Donald Trump's former chief strategist, Steve Bannon, is meeting behind closed doors with a House of Representatives committee that is probing whether Russia meddled in the 2016 presidential election.
more »

Canada »

Liberals aim to 'instil culture of service' with new national youth initiative
Reviving an idea that has intrigued Liberals for decades — but which has proven difficult to establish — Prime Minister Justin Trudeau announces the "design phase" of the "Canada Service Corps" on Tuesday morning.
Figure skaters Tessa Virtue, Scott Moir named Canada's flag-bearers video
Tessa Virtue and Scott Moir will make history on Feb. 9, becoming the first woman and man — and first duo, period — to carry the Canadian flag into an Olympic opening ceremony.
Updated Toronto police to examine SUV, seek witnesses after girl pinned between 2 vehicles dies
Toronto police will examine an SUV and are seeking witnesses to a collision outside a school on Monday in which a five-year-old girl was pinned between two vehicles and later died in hospital.
more »

Politics »

Summit on North Korea begins in Vancouver
Foreign ministers from 20 countries are meeting in Vancouver today to discuss ways to promote a peaceful resolution to the North Korea crisis.
Liberals aim to 'instil culture of service' with new national youth initiative
Reviving an idea that has intrigued Liberals for decades — but which has proven difficult to establish — Prime Minister Justin Trudeau announces the "design phase" of the "Canada Service Corps" on Tuesday morning.
Liberals miss deadline to resettle ISIS survivors of rape, genocide due to airport closure
The Liberal government missed its target to resettle 1,200 Yazidis and other survivors of ISIS to Canada by the end of 2017 because of an extended airport closure.
more »

Health »

Sorry - we can't find that page
 
CBC.ca

Sorry, we can't find the page you requested.

  1. Please check the URL in the address bar, or ...
  2. Use the navigation links at left to explore our site, or ...
  3. Enter a term in the Quick Search box at top, or ...
  4. Visit our site map page

In a few moments, you will be taken to our site map page, which will help you find what you looking for.

more »

Arts & Entertainment»

U.K. police say death of Dolores O'Riordan is not suspicious video
The death of Cranberries lead singer Dolores O'Riordan is not being treated as suspicious, British police said Tuesday. A friend said the singer sounded excited and 'full of life' just hours before her death.
Canadian Screen Awards 2018: Anne has leading 13 nominations
Literary revamp Anne, crime drama Cardinal, TV sitcom Kim’s Convenience and historical drama film Hochelaga, Land of Souls are among the top contenders for the Canadian Screen Awards.
Céline Dion cancels 3rd Las Vegas show as throat inflammation persists
Céline Dion says she is 'truly sorry' for cancelling another Las Vegas concert as she continues to battle throat inflammation.
more »

Technology & Science »

New No increase in earthquakes during full or new moons, study suggests
The moon may be the cause of some things that happen on Earth, but earthquakes aren't one of them, a new study suggests.
Welcome to the neighbourhood. Have you read the terms of service?
Toronto is becoming a test bed for new smart-city technology, but some observers are concerned about the privacy of the data the city would be collecting.
Canada's deepest cave discovered in southeastern British Columbia video
Calgary-based explorers have discovered Canada's deepest cave, in southeastern B.C., scuba diving an underground lake, traversing deep canyons and squeezing through tiny cracks to determine its longest shaft stretches the length of a 35-storey building.
more »

Money »

New Australia complains to WTO about Canadian rules on selling wine
Australia has complained at the World Trade Organization about the rules applied to sales of wine by Canada and various provinces, a WTO filing showed on Tuesday.
Canadian shares buck global uptrend to head lower
Canadian markets headed lower on Tuesday as the metals and energy sectors weighed on the benchmark index despite global markets hitting record highs.
Bitcoin prices drop as South Korea minister indicates ban still possible
Prices of bitcoin and other digital currencies fell after South Korea's top financial policymaker said a crackdown on trading of cryptocurrencies was still an option.
more »

Consumer Life »

Sorry - we can't find that page
 
CBC.ca

Sorry, we can't find the page you requested.

  1. Please check the URL in the address bar, or ...
  2. Use the navigation links at left to explore our site, or ...
  3. Enter a term in the Quick Search box at top, or ...
  4. Visit our site map page

In a few moments, you will be taken to our site map page, which will help you find what you looking for.

more »

Sports »

[an error occurred while processing this directive]
Figure skaters Tessa Virtue, Scott Moir named Canada's flag-bearers video
Tessa Virtue and Scott Moir will make history on Feb. 9, becoming the first woman and man — and first duo, period — to carry the Canadian flag into an Olympic opening ceremony.
Flag-bearer curse? Not in the Winter Olympics video
The honour of being named an Olympic flag-bearer can also come with additional pressure. But seven of the past 10 Canadians to lead their teammates into the opening ceremony went on to earn medals, including five gold.
Recap Australian Open: Bouchard advances, Raonic stunned video
Milos Raonic has slumped to his earliest exit at a Grand Slam since 2011, losing in the first round at the Australian Open to Lukas Lacko of Slovakia 6-7 (5), 7-5, 6-4, 7-6 (4). Bouchard, from Westmount, Que., toppled France's Oceane Dodin 6-3, 7-6 (5) and will face top-seeded Simona Halep next.
more »

Diversions »

[an error occurred while processing this directive]
more »