Search code examples
videouniqueidentifiervimeo

Won't Vimeo.com Run out of ID's very soon?


I recently noticed that the Vimeo id's are a string of 8 integers. That means that, at most, the scheme can accomodate 10^8 videos - or 100 Million Videos. Sure, that's a huge number, but still very very finite. Won't they run out of space very soon? Do I have to plan my applications for when they add more integers or if they change to letters and integers or something? Or is there something I'm missing?


Solution

  • There are videos with less than 8 digits, so it would seem they're just increasing the number by 1 for each video. You should in other words definitely plan for a 9'th digit.

    Personally, I'd store the whole URL for videos as a string, which would let you handle any future video numbering scheme they can think up. Counting on them always being numeric for ever is probably not a good idea, everybody seems to be doing vanity URL's by now :)