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 »

CBC IN PHILADELPHIA Diehard Sanders backers descend on Democratic convention vowing 'Bernie or Bust'
Some loyal Bernie Sanders voters have organized multiple events and rallies in support of the failed Democratic presidential nominee in Philadelphia to coincide with the party's convention. "Bernie or Bust" adherents say there is no way they will vote for Hillary Clinton.
Black lives, blue lives, all lives: What does it mean when we say certain lives matter? video
The recent shooting of black men at the hands of police and the killings of law enforcement officers in response have reinstated complicated discussions about what it means when we say certain lives matter.
New Deadly ISIS attack in Kabul leaves Afghanistan in mourning
Afghanistan marked a national day of mourning on Sunday, a day after at least 80 people were killed by a suicide bomber attack on a peaceful demonstration.
more »

Canada »

'You're pretty much hosed': Air Miles rewards lacking for expiring points, customers complain
In the race to redeem their Air Miles before they expire, collectors are expressing frustrations about limited rewards options. Many are upset they can't access cash rewards like gift cards.
New Inuit press claim for co-ownership of Franklin artifacts
Inuit have asked the new Liberal government to ensure they have co-ownership of artifacts recovered by divers from the sunken wreck of HMS Erebus, a Sir John Franklin ship discovered in 2014. In the meantime, Canadian negotiations are in discussions with the Royal Navy about which of those objects Britain will own permanently.
New Nova Scotia researchers studying why friendships fail
A pair of Halifax researchers are conducting a study to find out why friendships fail and how it can change the people involved.
more »

Politics »

Analysis Donald Trump's lessons for Canadian politics
We should perhaps not regard the roiling American political scene with great smugness. By comparison, Canada is a sanctuary of pleasant reasonableness. But we are not quite an invulnerable place of perfect enlightenment.
Analysis Premiers head home from Whitehorse with double-edged challenge: Chris Hall
Canada's premiers need to take advantage of a partner in Ottawa who's willing to engage with them again. But they also have to put up enough of a common front to keep Justin Trudeau from acting unilaterally — as so many prime ministers have done before.
Privacy commissioner to investigate data breach of public servants' personal info
Canada's privacy commissioner is launching a formal investigation into one of two data breaches linked to the federal government's troubled computerized payroll program, called Phoenix.
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»

Games of Thrones cast predicts who might claim Iron Throne
The cast of Game of Thrones gathered Friday in San Diego at the annual fan convention Comic-Con, minus a few key figures including Snow actor Kit Harrington, George R. R. Martin and Emilia Clarke.
Tragically Hip fan with same cancer as Gord Downie gets tickets to final show video
Moncton resident Jason DeRoche will be at the final concert on the Tragically Hip's summer tour, and it's all thanks to a Facebook post by his wife. The 39-year-old was diagnosed with the same Stage 4 brain cancer as Hip singer Gord Downie just weeks ago.
Judge won't allow Suge Knight lawyers to have witness addresses in murder case
Defence lawyers for Marion "Suge" Knight will not be given addresses and other information about confidential informants and key witnesses in the murder case against the former rap mogul, a judge ruled Friday after a closed-door meeting with a prosecutor and police detective.
more »

Technology & Science »

What the dog smelled: The science and mystery of cadaver dogs
They can catch a whiff of human remains under 30 metres of water or buried in a mine shaft, and can tell the difference between, say, a dead raccoon and a dead hiker. And yet scientists still aren't 100 per cent sure how cadaver dogs manage to do this and the training community is still figuring out how to train them most effectively.
'Heat dome' blamed for sizzling temperatures in Ontario, U.S.
Extreme heat and humidity has engulfed southern Ontario and much of the U.S. Meteorologists are blaming the "heat dome." Here's what you need to know about it.
Ursula Franklin, renowned Canadian scientist, dead at 94
Ursula Franklin, one of Canada's most accomplished scientists and educators, died Friday in Toronto at age 94.
more »

Money »

'You're pretty much hosed': Air Miles rewards lacking for expiring points, customers complain
In the race to redeem their Air Miles before they expire, collectors are expressing frustrations about limited rewards options. Many are upset they can't access cash rewards like gift cards.
Bill Morneau says Canadian economy to rebound this year
Canada's economy should rebound "over the course of the year" from the impact of the Fort McMurray, Alta., wildfire, Finance Minister Bill Morneau said on Saturday on the sidelines of a G20 meeting in Chengdu, China.
Feeling gouged? How to save money on airline fees
Gone are the good old days when an airline ticket included added perks like a checked bag. Now those perks will cost you. So CBC News did the research to help you avoid added airlines fees this summer.
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]
Jared du Toit eagles 18 to stay 1 shot back at Canadian Open video
Jared du Toit was the first to start celebrating. The amateur from Kimberley, B.C., had the best view, of course, of his 40-foot putt for eagle on the 18th hole. The shot helped move him to 2-under par on Saturday afternoon and into a tie for second at the RBC Canadian Open.
Andre De Grasse wins final race before Olympics
Competing in an American Track League event in Houston, Andre De Grasse beat out former world record-holder Asafa Powell over 100 metres. The 21-year-old Markham, Ont., sprinter raced to a 10.02 second result into a 0.3 metres-per-second head wind.
Recap Blue Jays take a flogging as Mariners come out swinging video
Nelson Cruz hit a grand slam off a struggling R.A. Dickey, then added a three-run shot off Drew Storen as the Seattle Mariners overpowered the Toronto Blue Jays for a 14-5 victory on Saturday.
more »

Diversions »

[an error occurred while processing this directive]
more »