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 »

Donald Trump's choice of generals for top posts 'extremely unusual'
The procession of former military officers nominated for top jobs in Donald Trump’s administration is raising concerns over whether the appointments could defy an American constitutional tenet: civilian oversight of government.
U.S. regulators mull allowing in-flight phone calls via plane's Wi-Fi
Airlines could let passengers make in-flight phone calls using Wi-Fi under a proposal from federal regulators.
South Korea president Park Geun-hye is impeached
South Korean lawmakers on Friday voted to impeach President Park Geun-hye, a stunning and swift fall for the country's first female leader amid protests that drew millions into the streets in united fury.
more »

Canada »

Updated Trudeau, premiers meet in Ottawa today to craft climate deal
Canada's first ministers are finalizing the details of a national climate change strategy to be announced at a high-level meeting in Ottawa today, but Saskatchewan Premier Brad Wall has made it clear he won't sign on to make it unanimous.
Russia threatens retaliation over latest round of Canadian sanctions video
Russia is threatening to retaliate after Canada quietly imposed additional sanctions on Russian nationals over the annexation of Crimea and Moscow's ongoing support for separatists in eastern Ukraine.
Collecting Starbucks or WestJet rewards? They may never expire thanks to Ontario bill
Ontario's new law banning loyalty programs from slapping an expiry date on points based on the passage of time alone will benefit many consumers — not just Air Miles collectors.
more »

Politics »

Updated Trudeau, premiers meet in Ottawa today to craft climate deal
Canada's first ministers are finalizing the details of a national climate change strategy to be announced at a high-level meeting in Ottawa today, but Saskatchewan Premier Brad Wall has made it clear he won't sign on to make it unanimous.
Russia threatens retaliation over latest round of Canadian sanctions video
Russia is threatening to retaliate after Canada quietly imposed additional sanctions on Russian nationals over the annexation of Crimea and Moscow's ongoing support for separatists in eastern Ukraine.
U.S. VP Joe Biden says 'Vive le Canada' as he kicks off 2-day trip north video
U.S. Vice-President Joe Biden used pre-dinner remarks at an event held in his honour in Ottawa to tout cross-border ties and urge the Prime Minister Justin Trudeau be a leader on international issues.
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»

Taylor Swift teams up with Zayn Malik for Fifty Shades duet I Don't Wanna Live Forever
Taylor Swift and Zayn Malik have dropped a surprise duet single from the Fifty Shades Darker soundtrack.
Jessica Chastain and Miss Sloane director John Madden lobby for the anti-hero video
The political thriller Miss Sloane stars Jessica Chastain as Elizabeth Sloane, a ruthless and sought-after lobbyist in the middle of the U.S. gun control debate.
Rolling Stone's Mick Jagger welcomes birth of 8th child
Mick Jagger's representatives say the rock legend and Rolling Stones frontman has welcomed the birth of his eighth child with girlfriend Melanie Hamrick.
more »

Technology & Science »

'We lost a good man today': Chris Hadfield on the death of John Glenn video audio
Col. Chris Hadfield, Canada’s most recognizable former astronaut, says the death of his idol and colleague John Glenn is tragic.
Still don't own a smartwatch? You're not alone
There's still not a great reason to own a smartwatch, says one industry analyst. "A lot of what these devices can do, they're essentially just mimicking the phone."
Updated Trudeau, premiers meet in Ottawa today to craft climate deal
Canada's first ministers are finalizing the details of a national climate change strategy to be announced at a high-level meeting in Ottawa today, but Saskatchewan Premier Brad Wall has made it clear he won't sign on to make it unanimous.
more »

Money »

U.S. regulators mull allowing in-flight phone calls via plane's Wi-Fi
Airlines could let passengers make in-flight phone calls using Wi-Fi under a proposal from federal regulators.
Collecting Starbucks or WestJet rewards? They may never expire thanks to Ontario bill
Ontario's new law banning loyalty programs from slapping an expiry date on points based on the passage of time alone will benefit many consumers — not just Air Miles collectors.
Americans getting better deal than Canadians on rebate for Samsung washers
A Samsung customer says Canadians are getting a raw deal compared to Americans when it comes to a rebate offered by Samsung on its recalled top-loading washing machines.
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]
Road to the Olympic Games: Canada's deepest-ever figure skating team
In what has long been regarded as an individual pursuit, Canada may have the deepest squad on ice. It's not hockey and it's not curling. It's the national passion of figure skating, writes Scott Russell.
Live World short-course swimming championships video
Watch the morning heats live now as Canadian Olympians Kylie Masse and Taylor Ruck compete at the world short-course championships in Windsor, Ont.
Penny Oleksiak wins bronze, sets new Canadian record video
Canada's Olympic star Penny Oleksiak won bronze in the 100-metre freestyle at the world short-course swimming championships Thursday, setting a new Canadian record in the process.
more »

Diversions »

[an error occurred while processing this directive]
more »