Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 847
SimaPro Avatar asked Dec 21 '22 15:12

SimaPro


1 Answers

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 :)

like image 182
Joachim Isaksson Avatar answered Dec 30 '22 13:12

Joachim Isaksson