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 »

Overturned oil tanker explodes in Pakistan, killing 148
An overturned oil tanker has burst into flames in Pakistan, killing 148 people who had rushed to the scene of the highway accident to gather leaking fuel.
Cholera cases in Yemen now more 200,000
The UN health agency says there are now more than 200,000 suspected cases of cholera in an outbreak in war-torn Yemen, many of them children.
Venezuelan president's opponents lay siege to air base
Young protesters broke down a metal fence guarding an air base in Caracas on Saturday before being repelled by security forces firing tear gas in another day of anti-government protests in Venezuela's capital.
more »

Canada »

'It's about time to build a road to Churchill': Engineer says it's possible
After flood damage forced the closure of the only land link to Churchill, Man. — a railway from Gillam — a civil engineer says it's time to reconsider building a permanent road linking the northern community to the south.
New Not-so-new Canadian: How welcoming is N.L. for immigrants? audio
Sean Charters has now spent a third of his life in Newfoundland and Labrador, and feels he's earned the right to express his mixed opinions of the place.
'Unprecedented event': 6 North Atlantic right whales found dead in June video
Since June 7, six North Atlantic right whales have been found dead, floating in the Gulf of St. Lawrence, which is about one per cent of the population of the endangered species.
more »

Politics »

CRA wants tougher rules for tax-cheat amnesty program
The Canada Revenue Agency is proposing tougher rules for tax cheats who voluntarily come forward looking for amnesty. The rules would hit sophisticated taxpayers with more penalties and require them to identify advisers and firms who helped with dodgy offshore tax schemes. Critics welcome the changes, but say more needs to be done.
'Zero chance' of a cabinet shuffle this summer, senior official says
As cabinet ministers head back to their ridings this summer, a senior government official says they can be secure in the knowledge that they won't be shuffled out of their job before Parliament resumes sitting this fall.
RCMP's structure could change under new commissioner, says Ralph Goodale
Public Safety Minister Ralph Goodale says the looming retirement of RCMP Commissioner Bob Paulson is as good a time as any to consider rejigging the governance of the force, including a recommendation to set up a civilian oversight body.
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»

Writer sues Tupak Shakur biopic for copyright infringement
Kevin Powell is suing the filmmakers behind All Eyez on Me, arguing the Tupac Shakur biopic pulls information from a series of articles he wrote about the late rapper in the 1990s.
Bradley Cooper makes surprise appearance on Glastonbury Festival stage
Actor Bradley Cooper surprised fans by taking the stage at the Glastonbury Festival Friday, since he wasn't exactly part of the lineup.
Schwarzenegger, Macron riff on Trump's campaign slogan in selfie video
Former California governor Arnold Schwarzenegger and recently elected French president Emmanuel Macron are showing their commitment to fighting climate change — and their condemnation of U.S. President Donald Trump —in a not-so-subtle selfie video.
more »

Technology & Science »

Blog It's worth the drive to totality: perspectives from an eclipse chaser: Bob McDonald
A veteran eclipse chaser gives a preview of the solar eclipse that will be visible in the U.S. in August.
Want to do business in Russia? Be ready to hand over your source code
Authorities are asking Western tech companies to allow them to review source code for security products such as firewalls and anti-virus applications before they can be sold.
Research into exoskeleton walking devices big leap forward for human-robot interactions video
Researchers at Carnegie Mellon University in the U.S. have developed a new system for human assistance with robotic devices known as exoskeletons that could have widespread impact on the way human performance is enhanced by devices of many kinds.
more »

Money »

Coming soon to a mall near you: condos and office space video
Canadian mall owners and developers were already in the process of getting approval for major makeovers - now Sears gives them all the more reason to move fast.
CRA wants tougher rules for tax-cheat amnesty program
The Canada Revenue Agency is proposing tougher rules for tax cheats who voluntarily come forward looking for amnesty. The rules would hit sophisticated taxpayers with more penalties and require them to identify advisers and firms who helped with dodgy offshore tax schemes. Critics welcome the changes, but say more needs to be done.
Forget the poop scooping: who will pay the bills for your pet? video
Pets are expensive, but few of us pay enough attention to the money we'll spend by adding a furry addition to the family. Here are 6 ways to cut down on pet costs.
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]
Recap Wolfpack stay perfect with victory over Hunslet video
Quentin Laulu-Togaga'e scored three second-half tries as the Toronto Wolfpack remained undefeated in their inaugural rugby league season with a 56-12 home win over Hunslet RLFC on Saturday.
Analysis NHL draft partially upstaged by torrent of trades
On Friday morning, each of the 31 general managers and their trusted hockey departments rose early for the big NHL draft weekend in Chicago. By the time the first day was over, there was still plenty to process after several big names traded sweaters.
Recap Canada ties U.S. in 1st leg of Rugby World Cup qualifier video
Canada squandered a first-half lead but reeled off 10 late points to tie the U.S. Eagles 28-28 on Saturday in the first leg of their Rugby World Cup qualifier.
more »

Diversions »

[an error occurred while processing this directive]
more »