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 Defeated Gambian leader Yahya Jammeh made off with government money, luxury cars
Exiled Gambian ruler Yahya Jammeh stole millions of dollars in his final weeks in power, plundering the state coffers and shipping out luxury vehicles by cargo plane, a special adviser for the new president said Sunday.
Trump vows federal help as storm, tornadoes rip through southeastern U.S., killing 15
A dangerous weekend weather system has killed at least 15 people in the U.S. South. U.S. President Donald Trump has pledged federal assistance for the affected areas, and Georgia has declared a state of emergency.
Netanyahu to meet with Trump before calling vote on West Bank annexation
Israeli Prime Minister Benjamin Netanyahu delayed a vote Sunday on an explosive proposal to annex one of the West Bank's largest settlements, apparently to co-ordinate his policy toward the Palestinians with the new administration of U.S. President Donald Trump.
more »

Canada »

Homeowners ill-informed about flood compensation, poll suggests
An internal poll commissioned for Public Safety Canada finds many Canadians believe Ottawa will compensate them for damage sustained during major flood disasters. But an expert says that is increasingly unlikely due to recent coverage changes in the insurance industry.
Airport screening rules revamped for transgender travellers
The federal agency in charge of security at Canadian airports has changed its policy on screening for transgender travellers. But advocates worry staff haven't been properly trained to execute it.
Why drug traffickers logging huge highway miles are endangering the public
Drug traffickers driving long distances to transport their illegal wares are putting the public at risk with their non-stop driving, say the RCMP.
more »

Politics »

Trudeau not the 1st politician to face heat for Aga Khan helicopter ride
Canadian Prime Minister Trudeau has been taking flak for his trip aboard Aga Khan's private helicopter, which mirrors a similar controversy that befell the Bahamas environment minister back in 2010.
Analysis Liberal cabinet retreat in Calgary well-timed as electoral tests loom
The Liberals are holding their caucus retreat in Calgary this week, a city in which the party made a breakthrough in the 2015 election. With two byelections on the horizon, will the Liberals be able to build on those Calgary gains, or will the last election prove to be their high watermark?
Airport screening rules revamped for transgender travellers
The federal agency in charge of security at Canadian airports has changed its policy on screening for transgender travellers. But advocates worry staff haven't been properly trained to execute it.
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»

Aziz Ansari tackles Trump, Islamophobia and 'casual white supremacy' on SNL
There was no impersonation of Donald Trump by actor Alec Baldwin on Saturday Night Live this week but guest host Aziz Ansari gave his own two cents about the new president.
Ryan Gosling, Denis Villeneuve among Canadians likely to get Oscar nominations
When this year's Oscar nominations are announced on Tuesday, there's a good chance some Canadians will be prominently in the mix, most notably Quebec director Denis Villeneuve and London, Ont.-born actor Ryan Gosling.
Madonna, Scarlett Johansson, Miley Cyrus among celebs at women's marches
Scores of Hollywood A-listers showed up at huge women's marches in Washington and other cities to show support for feminism, equality and human rights.
more »

Technology & Science »

Non-browning apple coming to U.S. next month but Canada will have to wait video audio
The genetically modified non-browning apple a B.C. man has been developing for more than two decades will finally end up on some U.S. produce shelves next month. But Canada will have to wait to take its bite.
How coffee grounds turned firewood could be a lifeline for refugees video
The remnants of your morning cup of coffee could be a lifeline for refugees living in camps in sub-Saharan Africa.
New species of prehistoric palm discovered in Canada
A researcher has identified a new species of small palm that once grew in Canada — millions of years ago.
more »

Money »

How to fight back against rising bank fees on chequing accounts
Canada’s big banks continue to hike personal bank fees. Many banks are also making it more difficult to avoid one of the largest and most irritating fees — that pesky chequing account charge.
Tax scams and testing 'the Trump effect': CBC Marketplace's consumer cheat sheet
If you've been too busy this week to keep up with health and consumer news, CBC's Marketplace is here to help.
Non-browning apple coming to U.S. next month but Canada will have to wait video audio
The genetically modified non-browning apple a B.C. man has been developing for more than two decades will finally end up on some U.S. produce shelves next month. But Canada will have to wait to take its bite.
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]
Analysis Adam Hadwin credits Canadian fans after joining golf's exclusive 59 club video
Adam Hadwin's blitzing of the La Quinta Country Club at a PGA Tour tournament in the California desert on Saturday is another example of the talent that exists beneath the top rung of the world's best golfers. After his round, he credited the Canadians in the crowd and the support he received as he reeled off six consecutive birdies on the front, then five in a row on the back.
Video Kaillie Humphries training 4-woman bobsleigh crew in name of equality video
Humphries on the lack of a 4-Woman Bobsleigh event: 'I never thought that was fair.'
Royals pitcher Yordano Ventura, former MLBer Andy Marte killed in separate car crashes
Authorities in the Dominican Republic say Kansas City Royals pitcher Yordano Ventura and former MLB player Andy Marte have both died in separate car crashes.
more »

Diversions »

[an error occurred while processing this directive]
more »