Youtube video views not updating
You Tube adds a new rich set of APIs in order to become your video platform leader--all for free.
Upload, edit, watch, search, and comment on video from your own site without visiting You Tube.
Compose your site internally from APIs because you'll need to expose them later anyway.
How did they manage to deliver all that video to all those users?
And how have they evolved since being acquired by Google?
The real meat of this is skipped over in a couple of lines: keep the popular content on a CDN.
In other words, throw money at Akamai and let Akamai worry about it.
That is, of course, the right answer, but whether you're using Python or not hardly matters.