Slashdot Mirror


Facebook Goes To 64 Bit User IDs

NewsCloud writes "Facebook has announced to developers that they are moving to a 64 bit user ID in November. At 32 bits, the current ID allows nearly 4.3 billion user accounts. Yet, despite having only 47 million users today, Facebook's move to 64 bits will allow it to have more than 18 quintillion (18,446,744,074,000,000,000) user accounts. Of course, there are currently only about 6.5 billion people in the world. Is Facebook setting their sights beyond Earth or just trying to avoid what happened when Slashdot ran out of space for comment IDs last year. Perhaps they are planning to implement personas."

144 comments

  1. Facebook? by Gabest · · Score: 1, Funny

    Never heard of it, but I already want my own account, or two.

    1. Re:Facebook? by Jeff+DeMaagd · · Score: 1

      Now, you can probably set up a bot net to give you a few million and noone would notice.

    2. Re:Facebook? by sherpajohn · · Score: 1

      Ironically (or not - your choice), the post advising developers of this change contains a spelling error. No biggy, really...I mean who knows that "to" means one thing and "too" another? Certainly not someone posting advisories to developers on a little site like Facebook...

      LOL. Our guys send out typo riddled notices all the time. They need more console love, an AIX terminal is very unforgiving of typos...oh crap I just brought a ton of sites down, I meant status, not stop!

      --

      Going on means going far
      Going far means returning
    3. Re:Facebook? by __aaclcg7560 · · Score: 1

      Maybe this this will enlighten you. :P

  2. Reminds me of a Facebook group by langelgjm · · Score: 5, Funny

    Reminds me of a Facebook group: "If this group reaches 4,294,967,296 it might cause an integer overflow."

    --
    "Anyone who [rips a CD] is probably engaging in copyright infringement." - David O. Carson
    1. Re:Reminds me of a Facebook group by Nom+du+Keyboard · · Score: 3, Funny

      "If this group reaches 4,294,967,296 it might cause an integer overflow."

      Obviously that group number wasn't computed using Excel.

      --
      "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
    2. Re:Reminds me of a Facebook group by Anoria · · Score: 3, Insightful

      The "We may not reach 4,294,967,296 members but..." discussion thread has been breaking the sad news about 64-bit storage for several months now.

    3. Re:Reminds me of a Facebook group by scigirl543 · · Score: 1

      That may be part of why they did it. The group, while being nowhere near its goal, is now useless other than as a random discussion forum. I'll stay in it for that, but it no longer really has a purpose. Not that anybody ever expected to actually cause an integer overflow to begin with, though it was fun to watch the group get reported as Anti-Facebook terrorism repeatedly by people who believed more in the achievability of the group's goals than a vast majority of the members did.

      --
      ~Scigirl543
  3. Network ID by Deltaspectre · · Score: 3, Informative

    One thing to keep in mind is the userid is network ID + user ID for that network
    For my user ID the network ID takes up the first 6 digits

    Although I have heard that they stopped this practice and are just assigning IDs

    --
    My UID is prime... is yours?
    1. Re:Network ID by Tablizer · · Score: 3, Insightful

      Why did they used to make part of the ID be a network identifier? What if you need to move users to other networks? I can perhaps see how it could make it possible to assign unique id's without central communication by making blocks of numbers to be pre-assigned by different regions, etc. But as a direct network allocator, it seems problematic.

      And why we are on the topic of ID's, why are Microsoft product ID's so damned long? They use letters, which gives them 35-base number set (including the digits, excluding "o") which in theory would mean you don't need long strings. Is this to reduce trial-and-error loop hacking? It seems like it would make for a lot of help-desk calls because the chances of mistyping is large.

    2. Re:Network ID by Deltaspectre · · Score: 1

      When I moved to my colleges network I kept my highschool network ID

      --
      My UID is prime... is yours?
    3. Re:Network ID by darthflo · · Score: 1

      why are Microsoft product ID's so damned long?
      They don't just contain a (known to the setup program) number but lots of data (which Product, what type of License, the actual ID and so on). In the early years of this millenium, several PDF documents on how to calculate your own XP CD key circulated everywhere on the interwebs, find yourself one of these for more detail.

      They use letters, which gives them 35-base number set[...]
      Nope, they use 0-9 and some letters, excluding O (and a few others, haven't got em handy right now).

      Is this to reduce trial-and-error loop hacking?
      I guess so. When switching from ME to XP back in the day, all I had was a handwritten Product ID and the CD. Long story short: Setup wouldn't want what I thought was the ID, after trying everything I could read into the handwritten key, I assumed there to be = 4 incorrect digits, after a few hours and hand-checking (unaidedly) thousands of combinations I was ready to go.
    4. Re:Network ID by Anonymous Coward · · Score: 0

      Insightful? Huh?
      Yes, it is to prevent even automated trial and error brute force.

    5. Re:Network ID by ceoyoyo · · Score: 1

      The MS serial numbers can be checked for validity like credit card numbers, so they have to follow a particular formula, which greatly decreases the number of allowed combinations. That's why keygenerators can work.

      Plus it makes them look more important.

  4. link to slashdot's comment id problem by endx7 · · Score: 3, Informative

    The "Slashdot ran out of space for comment IDs" link doesn't work.

    You can get to the referenced article at:
    http://meta.slashdot.org/article.pl?sid=06/11/09/1534204

    1. Re:link to slashdot's comment id problem by endx7 · · Score: 1

      Ah, it seems to be working now. Firefox was complaining about bad redirects earlier.

    2. Re:link to slashdot's comment id problem by Anonymous Coward · · Score: 0
  5. Facebook loners rejoice! by Bruce+McBruce · · Score: 5, Funny

    You can be your own 5000 best friends.

    1. Re:Facebook loners rejoice! by Anonymous Coward · · Score: 5, Funny

      You're assuming I can stand myself...

    2. Re:Facebook loners rejoice! by Phurge · · Score: 1

      Just like Robert Scoble....

      --
      I'll see your hokum and raise you a boondoggle.
    3. Re:Facebook loners rejoice! by Anonymous Coward · · Score: 0

      Fact: *BSD is dying

  6. Population growth by Mostly+a+lurker · · Score: 3, Funny

    Facebook's move to 64 bits will allow it to have more than 18 quintillion (18,446,744,074,000,000,000) user accounts. Of course, there are currently only about 6.5 billion people in the world. Is Facebook setting their sights beyond Earth ...?
    My assumption is that Facebook is betting on the success of the Vatican's campaign against birth control. I just cannot imagine extra terrestrials being willing to put up with the multi-year latency required to post and retrieve photos from an earth-based server.
    1. Re:Population growth by Anonymous Coward · · Score: 0

      what about 'spooky action at a distance comms that violate causality ? '

    2. Re:Population growth by foobsr · · Score: 2, Funny

      I just cannot imagine extra terrestrials being willing to put up with the multi-year latency required to post and retrieve photos from an earth-based server.

      They have invented instant messaging.

      CC.

      --
      TaijiQuan (Huang, 5 loosenings)
    3. Re:Population growth by 3vi1 · · Score: 1

      In 150 years, there will be over 14 billion people in the world and even your watch will have a terabyte of storage. Facebook's just saving themselves some time by preparing to not delete/re-use the old account numbers.

  7. Re:getting pussy goes 64 bit! by Donniedarkness · · Score: 0

    Sorry, but that was probably more suited towards the Myspace crowd. You fail.

    --
    Earn a % of cash back from Newegg, Tiger Direct, Walmart.com, and more: http://www.mrrebates.com?refid=458505
  8. Sick of Facebook Propaganda by Anonymous Coward · · Score: 0

    Come back MySpace all is forgiven ...

  9. thank god by friedman101 · · Score: 5, Funny

    finally I can register my bacteria colony!!

    staphylococcus aureus #19392133943904 is in a relationship with staphylococcus caprae #93939394839483934

    1. Re:thank god by Firehed · · Score: 5, Funny

      What the hell? That's my S. caprae, the dirty slut!

      --
      How are sites slashdotted when nobody reads TFAs?
    2. Re:thank god by Dr.+Photo · · Score: 4, Funny

      Can germs get V.D.?

    3. Re:thank god by Anonymous Coward · · Score: 0

      #19392133943904

      That's the combination to my luggage...

    4. Re:thank god by Chrax · · Score: 1

      Can they ever!

  10. Re:getting pussy goes 64 bit! by Anonymous Coward · · Score: 0

    The untethered verve and misplaced authority made this one of the better trolls I've read on this site. Very funny.

  11. Quality by Anonymous Coward · · Score: 0

    I had hoped never to read an explaination of 64 bit integers like this on slashdot.. News for nerds? :(

    PC World (and similar types of magazines) has more technical articles than slashdot now..

    1. Re:Quality by e9th · · Score: 1

      It's only a temporary dumb-down. They're trying to rake in some of the overflow from the Limbaugh letter.

    2. Re:Quality by WilliamSChips · · Score: 1

      I'm pretty sure it's almost impossible to make Limbaugh's views look worse than they really are.

      --
      Please, for the good of Humanity, vote Obama.
  12. News? by JRGhaddar · · Score: 5, Insightful

    This has to one of the dumbest articles to reach the slashdot headlines.

    So basically facebook changed there maximum users from a huge number to an even bigger number.

    Are we going to post a news story everytime google adds to their storage system?
    or microsoft adds another bloated line of code?
    or everytime the telco's build a tower?

    1. Re:News? by Joe+U · · Score: 1, Interesting

      Can I get a frontpage story? I used GUIDs in my database design.

      Seriously, user ids?

      Hi, 1985 is on the phone, they want their copy of C-Net BBS back.

    2. Re:News? by Anonymous Coward · · Score: 0, Insightful

      [i][b]Their[/b][/i]. OK?

    3. Re:News? by Joe+U · · Score: 5, Funny

      HTML, not [i][b]BBCode[/b][/i]. OK?

    4. Re:News? by Joe+U · · Score: 0, Offtopic

      It was a joke, duh.

    5. Re:News? by gordo3000 · · Score: 1

      yes, we finally decided that the slashdot community has seen enough ads for apple gear.

      ~the people who come up with repetitive slashdot stories

    6. Re:News? by Anonymous Coward · · Score: 0

      Are people voting for this crap in the "Firehose", or did Zonk find it so enthralling that he decided to post it directly to the front page? If this is the kind of garbage that the "Firehose" produces, maybe it's time to reevaluate its worth.

    7. Re:News? by larry+bagina · · Score: 2, Funny

      or at least change the name from firehose to high velocity diarrhea.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    8. Re:News? by jmv · · Score: 1

      You don't understand. This is a *major* improvement. After all, they haven't just increased a little bit the number of possible users, they've *multiplied* it by about 4 billions. That's a 40,000,000% increase!

    9. Re:News? by wizardforce · · Score: 1

      Are we going to post a news story everytime google adds to their storage system?
      I seem to remember an article poking fun at the fact google's email space isn't "infinite" like some other services so if they doubled or tripled their limit I guess it would be on the front page.

      or microsoft adds another bloated line of code?
      Windows Vista articles?

      or everytime the telco's build a tower?
      articles about the irrational fear of wifi and the "dangers" of cell phone towers, I believe we've seen that too. so yes, there will be a front page article on slashdot about all three of these.
      --
      Sigs are too short to say anything truly profound so read the above post instead.
    10. Re:News? by Anonymous Coward · · Score: 3, Informative

      Are we going to post a news story everytime google adds to their storage system?

      Answer: Why yes, I believe they will.

    11. Re:News? by Yaotzin · · Score: 1

      Haha, you just made me laugh, mr. larry vagina.

      --
      Error: No error occurred
    12. Re:News? by Blakey+Rat · · Score: 1

      Are we going to post a news story everytime google adds to their storage system?

      Have so far.

      or microsoft adds another bloated line of code?

      God yes. Slashdot has flamebait stories about Microsoft when they don't do anything at all!

      or everytime the telco's build a tower?

      No, instead we'll get that one about how the US has crappy broadband another 4-6 times this week.

    13. Re:News? by AllenA · · Score: 1

      I agree. I guess it was a slow news day. I'm reminded of a quote from (the movie) "Contact" (with Jodi Foster): "Occam's razor. You ever heard of it?" Isn't the simple (albeit not obvious to some) answer: 64bit (DB - database) keys are more efficient than (32bit) on a 64bit Server - which is what datacenters are moving towards (or have been moving towards). And the decision was an Ops/Engineeing one (rather than Product Management or Business) to optimize on speed rather than memory or storage (obviously 64bit keys take twice as much memory and storage as 32bit keys). I apologize to anybody (that cares) for continueing to draw attention to "does anyone care?" articles ... ah, maybe this was a Facebook Marketing ploy??? LOL

  13. Two-Faced by Nom+du+Keyboard · · Score: 5, Funny

    Clearly this is meant to accommodate two-faced people, people of multi-faced discrimination, and Hexadecimal.

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
    1. Re:Two-Faced by AngryBacon · · Score: 1

      And all of Hexadecimal's nulls.

    2. Re:Two-Faced by consonant · · Score: 1

      MPD! You left out MPD!

  14. As they say on Mythbusters... by Anonymous Coward · · Score: 0

    If it is worth doing, it is worth overdoing.

  15. Well.. by Anonymous Coward · · Score: 0

    I, for one, welcome our facebook-using, alien overlords. They will obviously soon be here, so I would like to remind them that, as a trusted Slashbot, I could be helpful in rounding up other coders to toil in their underground cubicle-farms..

  16. i for one. by sh3l1 · · Score: 2, Funny

    I for one will take go with Facebook's initiative to welcome our new alien overlords who will certainly see Facebook's superiority to Myspace.

    --
    Help Me! I'm trapped in the tubes! Oh noes! Here comes a internet!
  17. Not just user IDs by digital+bath · · Score: 5, Interesting

    TFA says nothing specific to 'user ids' - it says object ids in general. I assume this includes things like comment ids, event ids, etc - which makes overflowing the 32 bit limit much more reasonable.

    --
    find / -name "*.sig" | xargs rm
    1. Re:Not just user IDs by Lifyre · · Score: 1

      ...as if millions of voices suddenly cried out in terror and were suddenly silenced...

      --
      I'll meet you at the intersection of "Should be" and "Reality"
    2. Re:Not just user IDs by DarthThor · · Score: 2, Informative

      It does actually "Up until this point, all of our user IDs have been small enough that 32 bits is sufficient to store them all. In the not-so-distant future, we will begin using 64 bit object IDs in some places. So, the numbers will become to big to handle in some situations" The wording is actually pretty shocking so it could well be that the userid's are being made 64 bit but comments etc. are, or it could be they are making userid's 64 bit also.

    3. Re:Not just user IDs by RedWizzard · · Score: 1

      Up until this point, all of our user IDs have been small enough that 32 bits is sufficient to store them all. In the not-so-distant future, we will begin using 64 bit object IDs in some places. So, the numbers will become to big to handle in some situations Seems pretty clear:
      1. User IDs are currently 32 bits.
      2. They are changing some object IDs to 64 bits.
      It does not say they are changing user IDs to 64 bits. It's implied but not stated. It's not actually clear that "user ID" means the ID of an account - it might just mean a user-visible ID (such as comments have on Slashdot).
    4. Re:Not just user IDs by jd · · Score: 3, Insightful

      My interpretation (which is just as invalid as everyone else's, Facebook included) would be that they are abolishing UserIDs altogether and switching to a 64-bit universal ID. That kinda makes sense, as it would make defining relationships between any two types of object easy.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  18. Re:getting pussy goes 64 bit! by SanityInAnarchy · · Score: 0

    Would've been funnier if it had anything at all to do with 64-bit.

    --
    Don't thank God, thank a doctor!
  19. No Reuse... by Frosty+Piss · · Score: 1

    Facebook's move to 64 bits will allow it to have more than 18 quintillion (18,446,744,074,000,000,000) user accounts. Of course, there are currently only about 6.5 billion people in the world. Is Facebook setting their sights beyond Earth
    Probably just means they don't have to worry about needing to reuse IDs of inactive accounts...

    --
    If you want news from today, you have to come back tomorrow.
  20. 32 bit constraint kind of forces a big leap by istartedi · · Score: 4, Informative

    If you think you might ever have more than 2^32 of something, you kind of have to go to 2^64. Yes. It's an obscene ammount of possibilities; but it's the next biggest size. You really don't have much of a choice here. You could implement 5-byte numbers, but it'd be a PiTA. No CPUs have native 5-byte ints. The progression has always been a doubling of int size.

    If that doesn't make sense, you shouldn't be on Slashdot. Maybe you should be someplace else... like Facebook maybe?

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    1. Re:32 bit constraint kind of forces a big leap by Howzer · · Score: 1

      >>but it's the next biggest size

      Ah, no, it isn't. Just as an example, right off the top of my head, they could go from 32 bits to 34 bits, giving them an extra 12,884,901,888 ids. Or 2 for every person on the planet.

      Or they could round it off at a nice 40, for a healthy 1,099,511,627,776 -- roughly a trillion users.

      There is absolutely no rule that says "need bigger than 32 bit -- must choose 64 bit".

    2. Re:32 bit constraint kind of forces a big leap by istartedi · · Score: 1

      True, there is no rule that says you must choose the next native integer size. I addressed that in my OP with an example. I think maybe you're just trying to be difficult here. Perhaps I should have said explicitly that it's the next largest native int, and the next largest practical size because you don't have to use a special library to support it on a 64-bit CPU. I expect people to "get it". Maybe that was asking too much; or like I said, maybe you're just trying to be difficult. Meh.

      --
      For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    3. Re:32 bit constraint kind of forces a big leap by Evanisincontrol · · Score: 1

      There is absolutely no rule that says "need bigger than 32 bit -- must choose 64 bit".
      Except that it'd be a real son of a bitch to have to shift bits around every time you want to calculate user IDs.
    4. Re:32 bit constraint kind of forces a big leap by Ruie · · Score: 1

      If you are concerned about storage space mysql has 48bit storage type.

    5. Re:32 bit constraint kind of forces a big leap by BuGless · · Score: 2, Informative

      Facebook uses PostgreSQL as a backend, not MySQL, and PostgreSQL doesn't have a 48-bit datatype, so in their case it's either 32-bit or 64-bit.

    6. Re:32 bit constraint kind of forces a big leap by deniable · · Score: 1

      You use 'always' in a non-standard way. There were 36 and 60 bit processors available amongst others. 64 doesn't have to be the next number for processing. As someone else said 32->64 is due to postgreSQL. That, and the youngsters don't know any better. DB space is made by elves.

    7. Re:32 bit constraint kind of forces a big leap by istartedi · · Score: 1

      Yeah, I tend to be non-precise with language sometimes. "Always" is one of those things that people love to nail me for, because all you need is one counter-example and you get egg on your face. I've gone back and forth with people on this kind of stuff before: if I took the time to phrase everything that carefully, my posts wouldn't be ready until after the article expires. If I qualified every word and turn of phrase with possible exceptions, my posts would read like House Resolutions. Nobody, not even Congress, reads those. :).

      So, imprecise, un-qualified, non-fact-checked posts win the evolutionary race that is Slashdot posting. For my next feat, I'll post a comment that grows gills.

      --
      For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  21. Spammers by kryten250 · · Score: 2, Funny

    They have to do something, what with all those pretty girls wanting to get to know me and give me private shows...

    --
    FlyingPizzas.com, for the tasteful hermit
    1. Re:Spammers by dricci · · Score: 4, Funny

      I think you're confusing Facebook with MySpace, which doesn't have this problem as they appear to still use a flat-file database updated in notepad.

    2. Re:Spammers by rubycodez · · Score: 1

      of course, they're actually 50+ year old Republican congressmen.

  22. It's funny. Laugh. by SanityInAnarchy · · Score: 4, Informative

    So basically facebook changed there maximum users from a huge number to an even bigger number.

    The difference being that the current (huge) number was not quite sufficient to register all human beings on the planet, so we have to wonder why they did this. 32-bit integers are kind of the default, so most people wouldn't worry about it. So why are they doing this?

    If you look, this article is filed under "It's funny. Laugh." And it is, really. Either Facebook is doing this for no good reason, or someone actually has some justification for going to the time and expense to change their database in this way. And so... Are they really planning on registering more human beings that exist?

    I realize it's not funny to you now, as you've had to have the joke explained to you...

    Are we going to post a news story everytime google adds to their storage system?

    If they suddenly went from 2 gigs of email to 5 exabytes, then yes.

    Also, keep in mind that Slashdot did cover when Gmail was first released with that 2 gigs, which seemed impossibly huge, and was at least one or two orders of magnitude larger than their closest competitor.

    --
    Don't thank God, thank a doctor!
    1. Re:It's funny. Laugh. by Joe+U · · Score: 1

      Are they really planning on registering more human beings that exist?

      It's for their new sockpuppet policy. Either that, or they're just getting ready for our new robotic overlords.

      If they suddenly went from 2 gigs of email to 5 exabytes, then yes.

      Good point.

      Can I borrow an exabyte for my MP3's? On second thought, forget MP3's, raw audio is fine.

    2. Re:It's funny. Laugh. by JRGhaddar · · Score: 1

      Well while you think it's a joke... it is not funny.

      One they obviously aren't doing it to register people....userid's will be going to be used in promotions groups and other random social networking crap.

      All it really translates into Facebook site is big and wants/plans to be bigger. Which is why I put the news?

      Geeks get lost in the details but don't look at this big picture and that is why most geeks work for suits.

    3. Re:It's funny. Laugh. by Antique+Geekmeister · · Score: 1

      Why would you possibly want to use 33, or 39 bits, when you can simply set it to "64-bit" that is easily supported by your compilers and 64-bit hardware on your servers? It's not like the numbers will take less computation or less storage because they're less than 64-bits: storing digital numbers doesn't work that way.

    4. Re:It's funny. Laugh. by random0xff · · Score: 0

      so we have to wonder why they did this No, we don't. But Slashdot did, so now we do as well. I don't really care, but it just adds to the number of days I read an article about Facebook, and that must be good for Facebook.
    5. Re:It's funny. Laugh. by Bluesman · · Score: 1

      It's perfectly possible to store non-powers of 2 using byte-addressable hardware, you just have to mask out the bits you don't want and shift the rest when recovering the data. It's a small tradeoff in extra computation for a significant savings in storage space if you're storing a lot of data.

      Consider that with 2560 bits, you can store 64 40-bit integers, or 40 64-bit integers. You can recover all of the 40 bit numbers knowing their bit offset, even if you can address it directly. Many of those 40-bit ints will span two 64-bit numbers, but all you have to do is mask the bits you don't want, shift the most significant bits to the left and the least significant bits to the right, OR them, and you have your result as a 64 bit number.

      --
      If moderation could change anything, it would be illegal.
    6. Re:It's funny. Laugh. by iphayd · · Score: 1

      You also have to remember that the maximum isn't the number of people on the planet, but double that. At some point and time everyone needs two accounts. One to show them drinking and talk about sex, the other to show their parents that they aren't being naughty online.

    7. Re:It's funny. Laugh. by msormune · · Score: 2, Funny

      Geeks get lost in the details, because it's their job to get lost in the details, and find their way out. Suits manage the bigger picture. If a geek starts to worry about the big picture, he/she is in danger of becomng a suit :)

    8. Re:It's funny. Laugh. by poot_rootbeer · · Score: 1

      32-bit integers are kind of the default, so most people wouldn't worry about it. So why are they doing this?

      Publicity, mainly.

      For the price of under a gigabyte of disk, they have made themselves the talk of Slashdot and every other geek aggregation site, and mainstream tech reporters will then pick up on the trend, and report it in the newspapers and cable news networks. It's cheap advertising -- but it's a strategy that can only be used once, ever.

    9. Re:It's funny. Laugh. by JRGhaddar · · Score: 1

      Excellent.... although modded funny it is also insightful.

  23. obligatory MSDOS-flashback capacity comment by Anonymous Coward · · Score: 0

    640k sock puppets ought to be enough for anybody.

  24. Overflow by Helios1182 · · Score: 1

    There is a group trying to cause an integer overflow; either from comment or member numbers. This may impede their (hopeless) progress. It is titled, "If this group reaches 4,294,967,296 it might cause an integer overflow."

  25. Number of People by Bullseye_blam · · Score: 4, Insightful

    The other thing to remember is that there might be a certain number of people in the world at any one time, but that people are born and die within that time [and old ones won't be deleted]. I don't think it's inconceivable that Facebook might reach their current limit in 20-25 years.

    1. Re:Number of People by Anonymous Coward · · Score: 0

      I don't think it's conceivable that any of us will be proud of having ever possessed a facebook account two years down the road.

    2. Re:Number of People by MLCT · · Score: 1

      Facebook won't be around in 20-25 years - it is a fad. The biggest laugh of all is all the people in the "kewl media" who think it is worth tens of billions of dollars.

    3. Re:Number of People by tompaulco · · Score: 1

      The number of people in the world doesn't matter. It's the number of bored 11-15 year olds that we have to consider.

      --
      If you are not allowed to question your government then the government has answered your question.
    4. Re:Number of People by Andrewkov · · Score: 1

      You would if you had a 32 bit Facebook account!

  26. I can see a few reasons by Jay+L · · Score: 5, Insightful

    Even it if it's just user IDs, and not object IDs as another user posted...

    * 64-bit user IDs are easier to partition. They could be using the top N bits as a database ID.

    * They may want to allocate the IDs randomly instead of sequentially. 64-bit IDs would involve fewer collisions.

    * We don't know what their account churn rate is; if people sign up, forget, and create new accounts again frequently, they could have many more than 47 million dormant accounts sitting around.

    A 32-bit ID really does get cramped when you have a large user base.

    1. Re:I can see a few reasons by c_forq · · Score: 1

      The other thing that shocks me that people haven't commented on yet is that maybe Facebook is looking long term. It doesn't seem to be going away anytime soon, and appears to still be growing. Sure there are only 6 billion people now, but in 100 years those 6 billion people will be replaced.

      --
      Computers allow humans to make mistakes at the fastest speeds known, with the possible exception of tequila and handguns
    2. Re:I can see a few reasons by wfberg · · Score: 1

      As another site usually puts it "the real WTF is..." that they don't use 128 bit identifiers.

      If only if there was some sort of, I don't know, scheme for identifiers that has approximately 2^122 possible values, fits in 128 bits, has a standard notation and is supported by major databases as an 'auto increment' field.. With that many values, you could almost assume that using some sort of randomized value is bound to be unique - perhaps even universally unique. You could call it Globally Unique IDentifier (GUID) or UUID, I guess.

      --
      SCO employee? Check out the bounty
  27. I guess they believed the hype by pushing-robot · · Score: 3, Funny

    64 bits are WAY FASTER than 32 bits!

    --
    How can I believe you when you tell me what I don't want to hear?
    1. Re:I guess they believed the hype by Suicyco · · Score: 1

      Hmm, maybe because 64 bit systems ARE faster. Very much so.

      I don't know why this was rated funny, when its true.

      I don't know about you, but running through 24gb of tables in RAM as opposed to paged data is, in my book, an order of magnitude faster. 64 bit systems are massively faster than 32 bit systems.

      I'm not talking about windows boxes, but database servers (which I'm sure Facebook have) DO see a major impact.

      I know you thought you were being clever, and perhaps you were, to other not so bright and informed people. Believe it or not, computers CAN get faster! CPU register sizes can make a huge difference in this respect. Or are you still using a 8088?

    2. Re:I guess they believed the hype by pushing-robot · · Score: 1

      My post, like the article, was not about hardware or software but the size of a database field. Regardless of what a 64 bit architecture could do for the underlying hardware, operating system, or database engine, increasing a 32 bit database field to 64 bits will NOT improve the speed of transactions. My joke was meant to poke fun at the time when "64-bit" was a fad; anything "64-bit" was assumed to be better and the mere phrase caused a strange sense of euphoria like "dot com" had five years earlier. Despite its potential in speeding up certain operations and dramatically increasing addressing space, 64-bit architecture has, for the vast majority of users, thus far been a flash in the pan.

      --
      How can I believe you when you tell me what I don't want to hear?
  28. Re:getting pussy goes 64 bit! by Anonymous Coward · · Score: 1, Informative

    FP trolls are almost never related to the article. And at least it's a change from that overused "shit eating" copypasta we've been seeing the last few weeks.

  29. Bill Gates called it by MrYotsuya · · Score: 0, Redundant

    64 bits ought to be enough for everyone.

  30. security? by vanyel · · Score: 1

    I don't know anything about what you can or can't do with a facebook id number, but it could be a way to increase the sparseness so they're harder to guess for some sort of security reason (well founded or not...)?

  31. but... by RockoTDF · · Score: 2, Funny

    ...is it backwards compatible with web 1.0...?

    --
    There is more to science than physics!

    www.iomalfunction.blogspot.com
  32. For the robots by professorfalcon · · Score: 1

    They're getting ready to register all of the robots that we're going to marry in the future.

  33. Ha ha, but seriously. by Kaz+Kylheku · · Score: 5, Informative

    Not all of the bits of an ID are necessarily there for uniqueness. Wider ID's allow for features such as check digits (being able to tell whether an ID is valid without doing an existence query in a remote database) and other information. Namely, various immutable properties of the object that is denoted by the ID can be stored in the ID itself. This is similar to using spare bits within a machine address for tagging an object with a type or other attribute. It may be very useful to be able to tell something about an object just from the ID alone.

  34. Duplicate Users by evilviper · · Score: 1

    Or maybe it just means they don't want to disable and reclaim/recycle the 20 idle/unused/abandoned IDs each person has... Or did you really think over 1 million people that read Slashdot registered for accounts (just one each)?

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  35. Not actually what they said by a_sdh · · Score: 2, Informative

    They actually are increasing the Object ID to 64-bits. The announcement is confusingly written, given, but objects in their system are things like events, groups, and basically everything. It's easy to imagine that they would hit the 32-bit limit on these at some point.

  36. People make... by blahplusplus · · Score: 1

    ... more then one facebook account. I know I have.

  37. what ever happened to by lukesky321 · · Score: 1

    "all you will ever need is 64k of user IDs"

  38. Finally by Romicron · · Score: 2, Funny

    Finally, a little sensitivity for those of us with DID [wikipedia.org]

  39. This is the dumbest article... by ChronosWS · · Score: 2, Funny

    So they changed the column type of userId from INT32 to INT64. Who gives a fuck? It would be much less expensive for Slashdot to simply post SQL change logs than to have editors on the clock.

    We need the ability to mod stories, so that the editors can more clearly see when they aren't doing their job.

  40. Mark Zuckerberg is way past 32bit in his valuation by melted · · Score: 1

    Mark Zuckerberg is way past 32 bits in his valuation of Facebook. The guy thinks this thing is worth something like $10B, and the number grows every day. I guess he's getting ready to some seriously insane delusions of grandeur before the bubble bursts and washes away his pile of crap.

  41. In other news... by suv4x4 · · Score: 4, Funny

    I just changed the type of column "content" on my blog from "text" to "mediumtext". I'm ready to give a press conference as to the reason behind my decision to all interested.

    1. Re:In other news... by ABoerma · · Score: 3, Insightful

      > I'm ready to give a press conference as to the reason behind my decision to all interested.

      ie, "I will definitely call my mom about this."

  42. Population growth by stivi · · Score: 1

    What about population growth? Surely current number of users is much less than 2^32, but number of possible users is not number of people in the world at this time. Imagine that the world has exactly 2^32 inhabitants and everyone has a facebook account. What would you do with new-borns? Will you reuse accounts?

    There is difference between user accounts and active user accounts. Number of active user accounts can not be larger than actual population of the world, if we consider maximum of one account per user. However, total number of accounts in history can be much much larger.

    --
    First they ignore you, then they laugh at you, then they fight you, then you win.
  43. My guess: Security, segementation, multiple log in by drolli · · Score: 2, Interesting

    -you can harden your security by populating the user-id space sparsely. Somebody who is guessing for an user id will have an hard time.

    -It can make things easier to have your user groups organized according to geographic location, company issuing th id (e.g. local branch), etc.

    -Multiple log ins. Who knows. maybe it is easier to associate internally several uids with each uid (could make things more static).

    So let's say:

    10 bit for segmentation
    20 for checksumming
    4 for multiple logins

    leaves only 29 bit as payload

    Or somebody was just dumb and wanted to make sure he is not fired until all applicaitons are switched

  44. is this news? by Anonymous Coward · · Score: 0

    mysql> alter table users modify user_id int(20) unsigned not null auto_increment;

    not sure how this makes news... sounds like they are just releasing press releases to release press releases...

  45. IP goes to 128 bit addresses! by VGPowerlord · · Score: 1

    IPv6 uses 128-bit addresses. Just a reminder, in case you thought 64-bit user ids were ridiculous...

    --
    GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    1. Re:IP goes to 128 bit addresses! by Glowing+Fish · · Score: 1

      Every nanobot in the greygoo will need its own IP!

      --
      Hopefully I didn't put any [] around my words.
  46. Magic by Joebert · · Score: 1

    Do you think advertisers will finally catch on once they get 7 billion unique visitors from Facebook ?

    --
    Wanna fight ? Bend over, stick your head up your ass, and fight for air.
  47. Kudos to parent by giafly · · Score: 1

    Also if you allocate IDs sparsely this improves security.

    --
    Reduce, reuse, cycle
    1. Re:Kudos to parent by vidarh · · Score: 1
      Only if you allow people to access anything non-public by userid only, which is kind of stupid.

      Reminds me of a company I worked for that did that, and where they were surprised when I showed them how to "hack" the system by sequentially trying every possible user id...

  48. UUIDs by nevali · · Score: 1

    Perhaps they should save themselves some trouble in a few millennia's time and just switch to UUIDs.

  49. jeez by placebo420 · · Score: 0

    Talk about optimism...

  50. Re:getting pussy goes 64 bit! by maxwell+demon · · Score: 1

    Would've been funnier if it had anything at all to do with 64-bit.

    That's how much he was drinking before writing that post.
    --
    The Tao of math: The numbers you can count are not the real numbers.
  51. It's not User IDs. by Mahjub+Sa'aden · · Score: 2, Informative

    If you read the article, it refers to event IDs. Which means, of course, that everything (?) that happens on Facebook is assigned an integer and they were running out of integers or at least foresaw that possibility. This is much, much more reasonable than wanting to register more people than exist on the earth right now. But it makes it a lot less newsworthy, and a whole lot more boring.

    --
    What is is all that is. Isn't that obvious?
  52. Wtf? by X.25 · · Score: 1

    I've never heard about Facebook. Until few weeks ago, when Slashdot editors started spamming with Facebook related "news".

    How much did you get, to start spamming your own userbase with worthless news about Facebook?

    What will be next - "Facebook upgrades hardware"?

  53. Anti-spam measure? by DeadGenetic · · Score: 1

    Maybe there is some way to spam users by ID or they are afraid there will be one.

    With 47 mil subscribers and 32-bit keys. 1% of randomly generated keys would be real ones.

    With 64-bit keys, that drops to 2.5x10^-10 %.

  54. No, but by Aleksej · · Score: 1

    # rm -rf /

    is shorter, and it does.

  55. Re:My guess: Security, segementation, multiple log by Jay+L · · Score: 1

    you can harden your security by populating the user-id space sparsely. Somebody who is guessing for an user id will have an hard time.

    Nah. Any web app that lets you see something you shouldn't see by guessing the ID is broken, period (not to say there aren't a lot of broken web apps). I gotta think Facebook's smarter than that. What if you already knew the ID (because someone used to be your friend) and they delist you? You have to check permissions at the server side.

  56. I'm famous too! by Anonymous Coward · · Score: 0

    alter table users alter user_id bigint;

    Somebody call Reuters!

  57. use Strings by Tablizer · · Score: 1

    Why not just use strings to avoid the issues of fixed-byte integers? True, strings are not as compact, but that is the price of flexibility. (Add letters to increase the base to improve their compactness a bit.)

    1. Re:use Strings by Anonymous Coward · · Score: 0

      You're joking, right?

  58. Don't Stuff ID's with Attributes by Tablizer · · Score: 1

    It is a big risk to use ID's to store "extra" information such as location. (Although I have no problem with check-sums, but that is not an object attribute but an attribute of the ID itself.) There are rarely truly "immutable" attributes of the entities/objects that the ID references. Typo's etc. require the ability to fix incorrect attributes, and if you stuff these into ID's, then you have more stuff to repair and undo. I challenge you to give me example attributes from something along the lines of Facebook that are truly immutable.

    Somebody suggested "date of joining the service". However, what if you find an error with the date assignment, but the ID's are otherwise usable? If you fix the embedded date, then you have to assign them all new ID's. If the date is stored in another attribute/column, then you only have to fix that one column and not touch the ID's. Or, what if management decides to hide the dates after somebody figures out how to decode them and makes a website about it?

    They used to do attribute embedding like this in the 60's and 70's to save space, but it created lots of problems down the road with corrections and migrations. Independence of attributes is a good lesson learned the hard way. ID's are best if they are "dumb" identifiers, only serving to identify a particular object/instance/record.

  59. Think Hotmail... by Anonymous Coward · · Score: 0

    Is Facebook setting their sights beyond Earth...

    Well aren't you clever. Since you like numbers, here's a numerical comparison. The number of atoms in the observable universe is around 6e79. The number of deleted Hotmail accounts is expected to exceed that around 2010 or so. They should've gone 1024 bits while they were at it.
  60. like credit card security? by peter303 · · Score: 1

    Only one out 10,000 credit card numbers is valid, so you kind of have to steal numbers rather than guess them.

  61. Re:getting pussy goes 64 bit! by Anonymous Coward · · Score: 1, Funny

    Mod Correction: gay == flamerbait

    so close

  62. Re:My guess: Security, segementation, multiple log by drolli · · Score: 1

    > Any web app that lets you see something you shouldn't see by guessing the ID is broken, period

    No doubt about that! However, if somebody tries to attack in that way it is easier to fend of, because you can allow for a checksum. Instead of making a DB query for each hit, you make a DB query only if the ID lies in the codespace. So certain DOS attacks are more difficult.

    > (not to say there aren't a lot of broken web apps).

    Hell yeah!

    > I gotta think Facebook's smarter than that.

    Maybe they are smart enough to know that thay are a big company now and that not everybody in a big company is smart or every intern well supervised!

  63. Re:My guess: Security, segementation, multiple log by Jay+L · · Score: 1

    No doubt about that! However, if somebody tries to attack in that way it is easier to fend of, because you can allow for a checksum. Instead of making a DB query for each hit, you make a DB query only if the ID lies in the codespace. So certain DOS attacks are more difficult.

    D'oh! Excellent point. Can you tell I'm used to having front-line servers do rate limiting and authentication, and not used to talking straight HTTP to the masses?

  64. 2 digit dates by ACAx1985 · · Score: 1

    So they're planning for the future, when they could possibly run out of IDs, and everyone is crucifying them for it. Are our memories that shortsighted, the "omg Y to K" chaos was only a few years ago, kids.

  65. Reasonable Limits Aren't by HTH+NE1 · · Score: 1

    Enough said in the Subject.

    --
    Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?