So I’ve noticed that youtube throttles the speed at which you stream video as soon as enough of the video loads for the user to play the video seamlessly… I’d like to do the same for my site, but i dont even know where to start.. has anyone dabbled in something like this?
QOS. If your site resides on a unix box, you can do with this with pf.

.

I use nginx with

You create expiring file locations, and rate limit them with nginx

Simple

I use nginx with

You create expiring file locations, and rate limit them with nginx

Simple

thanks! ill try this… did you find this to be beneficial for bandwidth and overall load times?

Well, I encode videos at 400kbps (2 pass x264)…. so to sustain a "live stream" without buffering, you could limit each user at like 50KB/s, and everything will be okay. It does lower bandwidth usage somewhat, especially if you stream large files. Whats cool is that you could tell it to download the first few MB as fast as it can, to allow for a quick video start, and then throttle it to the bare minimum to sustain the stream.

But if you install something like wowza, and do true rtmp streaming, bandwidth usage drops by nearly half. The downside is that it creates a lot of disk IO, so if you’re pushing a lot of data, the server will handle 1/2 as much it would with regular pseudo-streaming.

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2011 Tag ORDA - Webmaster Lab Suffusion theme by Sayontan Sinha