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 »

Updated British police end armed hostage-taking at bowling alley
British police ended an armed hostage siege on Sunday, saying there were no casualties after a gunman took two staff members hostage at a bowling alley in a leisure complex in central England.
Germany's new facial recognition technology reminiscent of Cold War surveillance for some video
Germany is testing out facial-recognition technology at a Berlin train station. The goal is to improve security, but for those who remember the Cold War, it has shades of life under East Germany's notorious secret police, known as the Stasi.
New Slovenia heads to run-off vote in presidential election
Slovenia's President Borut Pahor has acknowledged that a run-off vote will be necessary after the first round of balloting in the country's presidential election.
more »

Canada »

Evacuation order lifted in Fernie, days after deadly arena gas leak
On Sunday, officials announced that the evacuation order for 55 homes and businesses immediately around the Fernie Memorial Arena had been lifted.
'I just felt fur and I grabbed him': Man enters burning home to save family dog
A family has lost all of their belongings after a Friday night fire in Middle Sackville, N.S.
Kenya's Philemon Rono sets new record at Toronto Waterfront Marathon
Kenyan runner Philemon Rono ran a historic Scotiabank Toronto Waterfront Marathon on Sunday, crossing the finish line at 2:06:51 — winning the race and setting a new record for the fastest marathon run on Canadian soil.
more »

Politics »

Living and loving the Cold War: The wild ride of a Canadian diplomat and spy
Diplomacy is not designed to be a wild ride, but Bill Warden's lasted three decades. He died in 2011, before his vivid journals were collected and published this fall by his daughter, Lisa, under the title, Diplomat, Dissident, Spook.
Survivors wait for next steps in effort to preserve 'horror stories' of residential schools
The Supreme Court of Canada has ruled residential school survivors must decide whether their accounts of abuse should be preserved or destroyed. Plans are now being drawn up to contact survivors and ask them their wishes.
Trudeau reluctant to reveal too much on Quebec's face-covering law: Aaron Wherry video
Over the course of three days this week, the prime minister was poked and prodded for a position on Quebec's Bill 62. Here's a look at his options should he choose to oppose the law.
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»

A Mortician's Tale explores the poignant — and mundane — realities of death
The Toronto-made indie game A Mortician's Tale aims to open up frank discussions about death and dying by putting you in the role of a funeral home worker preparing corpses and consoling the bereaved.
Guitars for Vets, Great Big Sea's Sean McCann help soldiers heal through music video
Guitars for Vets founder Jim Lowther and Great Big Sea's Sean McCann organize fundraising concert to get hundreds more guitars to former soldiers suffering stress-related injury.
Julie Snyder cuts ties to Gilbert Rozon, Éric Salvail over sexual harassment allegations
Julie Snyder says she and her production company will no longer work with any businesses affiliated with Quebec media figures Éric Salvail or Gilbert Rozon, who are facing multiple allegations of sexual harassment.
more »

Technology & Science »

Walmart ramps up self-checkout by letting customers ring in items while shopping
New scan-and-go technology being rolled out at Walmart stores allows shoppers to scan and bag their items while they shop, and it may lead to customers bypassing checkout altogether.
Germany's new facial recognition technology reminiscent of Cold War surveillance for some video
Germany is testing out facial-recognition technology at a Berlin train station. The goal is to improve security, but for those who remember the Cold War, it has shades of life under East Germany's notorious secret police, known as the Stasi.
Q & A | Teens search for way to improve magnetic resonance images
MRI scans provide information about the body without actually touching it. Now two Toronto teens are trying to adapt that approach to search for what is in someone's blood noninvasively.
more »

Money »

Walmart ramps up self-checkout by letting customers ring in items while shopping
New scan-and-go technology being rolled out at Walmart stores allows shoppers to scan and bag their items while they shop, and it may lead to customers bypassing checkout altogether.
Busting superfoods: CBC's Marketplace 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.
HQ2, eh? Amazon draws bids from Canadian cities to be online seller's other home
Amazon's announcement earlier this year that it is on the hunt for a second headquarters set off a flurry of interest from cities across the continent, eager to be the online giant's next home away from home. With the deadline to apply now passed, what Canadian cities followed through and threw their hats into the ring?
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]
Canadian women's hockey crease not set in stone
Two-time Olympic gold medallist Shannon Szabados will be tough to unseat, but that won't stop her backups from pushing her for Team Canada's starting job at the Winter Olympics.
Video How will Canada fill Marielle Thompson's ski boots? video
Marielle Thompson, the 2014 Olympic ski cross champion, ruptured her ACL and MCL, and will likely miss the Olympics. Canada has three skiers looking to help fill the void.
Sidney Crosby argues his way into 10-minute misconduct
It's almost a given that Sidney Crosby will leave his fingerprints on a game, just not in the manner he did in last night's 7-1 drubbing at the hands of the Tampa Bay Lightning.
more »

Diversions »

[an error occurred while processing this directive]
more »