views:

130

answers:

2

I'm trying to build a flash widget which will grab videos stored on my server. How does one do this to allow for maximum scalability?

I want to emulate what YouTube does.

Does it make a SOAP request? What kind of server is it talking to? An application server? A server that only serves videos?

A: 

High Scalability has an article about youtube's architecture.

Rob
I looked at that, I guess I was wondering what serves the flash videos?
@Steve, the article very clearly states what serves the videos.
jason
I still don't understand, how does the flash get the video? SOAP request? What does it mean to host a video? Is there a streaming framework?
The video content is just streamed over HTTP...
jason
A: 

The players request misc. data from the yt servers using either XML or LoadVars, and the videos are generally just flv or mp4 files that are served from web servers, as stated in the article:

Servers use the lighttpd web server for video:
- Apache had too much overhead.
Geoff