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 »

Analysis What the first 100 days of power reveal about Donald Trump video
Now that Donald Trump has had a few months with the power to do what he always wanted to do, here's what we've seen him do.
Climate protests to mark Trump's 100 days in office
For the second time in a month, tens of thousands of protesters are expected to turn out around the world Saturday to voice concern over climate change in a mass demonstration marking the 100th day of Donald Trump's presidency.
Wikipedia blocked in Turkey
Access to Wikipedia has been blocked in Turkey because of content presenting the country as supporting terror.
more »

Canada »

4 immigrant architects and an ashtray: How Expo 67's Canada Pavilion was born
The contract for designing the pavilion that would represent Canada at Expo 67, the focal point of the country’s centennial celebrations, was the "biggest and most important architectural commission to come along in a hundred years," says Caroline Robbie, daughter of Canada Pavilion co-designer Rod Robbie.
Children of the fire: Babies born during Fort McMurray wildfire bring joy amid chaos
As she lay in a strange bed that night in a shabby hotel room, feeling those first painful contractions, Monique Brunet wondered what remained of the fire-ravaged city she'd escaped just hours before.
Climate protests to mark Trump's 100 days in office
For the second time in a month, tens of thousands of protesters are expected to turn out around the world Saturday to voice concern over climate change in a mass demonstration marking the 100th day of Donald Trump's presidency.
more »

Politics »

Analysis What Harjit Sajjan really did while serving in Afghanistan
Truth being the first casualty of war has taken a decidedly different turn with growing outrage in both the political and military community about Defence Minister Harjit Sajjan's characterization of himself as the architect of Operation Medusa.
Retired widower's $50K severance stuck in troubled public pay system video
The federal government's new plan to fix its troubled public servant payroll system is getting a lukewarm reception. The strategy is being rolled out, as more stories of financial hardship are emerging.
Analysis Common interest will ensure Canada-U.S. trade conflicts get solved: Chris Hall
Canada remains confident a deal can be reached with the United States on softwood lumber without repeating the drawn-out trade litigation of the past.
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»

Margaret's moment: Age is an advantage, says Atwood video
From new graphic novels to books turned television shows, it all seems to be happening at once for beloved Canadian writer Margaret Atwood.
Fyre Festival postponed after reports of Hunger Games-like conditions emerge
The inaugural Fyre Festival in the Bahamas, promoted by social media celebrities and supermodels, was postponed Friday after attendees reported dilapidated accommodations, and top-billed performers pulled out.
Atlantic electro musicians find fame abroad, but fly under radar at home
The traditional music industry is playing "catch-up" when it comes to recognizing electronic music, according to some artists who have decided to create a new Maritime-wide music association to support urban artists.
more »

Technology & Science »

Blog Robots boldly go where no one has gone before: Bob McDonald
For space exploration, robots deliver a lot of bang for your buck.
Humpback whale babies 'whisper' to their moms to avoid detection by predators
New research suggests newborn humpback whales "whisper" to their mothers, which could be to avoid detection by predators such as killer whales.
This box can see through walls — and it could shake up home security
Aura looks for intruders based on the subtle disturbances in wireless spectrum their movements make, like ripples in a lake.
more »

Money »

Analysis Everything you need to know about Home Capital's woes and the impact on the housing market video
Canada's housing market is always a hot topic, but this week it was a heretofore little-known mortgage lender called Home Capital that made headlines as clients withdrew hundreds of millions in savings in a matter of days.
'Not for the faint of heart': Why getting a marijuana producer licence is a long shot
The regulatory gates to Canada's legal marijuana regime are open, but only a crack. Health Canada has received 1,630 applications for licences to grow or sell medical cannabis as of March 31. Only 43 licences have been approved so far, representing just 2.6 per cent of the total applications.
Bombardier faces lengthy legal battle with Boeing that could hurt CSeries sales
Bombardier faces a lengthy legal battle with Boeing after the aerospace giant filed a complaint with the U.S. government and the process could hurt sales of the new CSeries commercial jet, say trade experts and industry analysts.
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 Talbot stands tall as Oilers steal victory in Anaheim video
Patrick Maroon had a power-play goal and Cam Talbot made 39 saves as the Edmonton Oilers defeated the Anaheim Ducks 2-1 on Friday night to take a 2-0 lead in their second-round series.
Coming Up Road to the Olympic Games: Diving & IAAF World Relays video
Watch Road to the Olympic Games, our show spotlighting the best high-performance athletes from Canada and around the world. On this week's program, we feature coverage from the FINA Diving World Series in Windsor, Ont., plus action from the IAAF World Relays.
Andre De Grasse's mission: Beat Usain Bolt before he retires video
Don't let the smiles and back slaps fool you. While Andre De Grasse and Olympic legend Usain Bolt struck up a friendship in front of the world at the 2016 Rio Olympics, the Canadian sprinter wants desperately to topple the Jamaican before the icon calls it a career.
more »

Diversions »

[an error occurred while processing this directive]
more »