[Mongrel] streaming video with mongrel
jgeiger at gmail.com
Thu Sep 13 12:02:15 EDT 2007
Well, based on your setup, and if you copied one of the examples on
the web already, you should be serving the video from apache anyway
already. If not, there are plenty of examples on the web you can
search for "apache mongrel"
The main one is
Add in checks for .flv files that exist and it should then be served by apache.
Also, you could store the files in a directory that isn't under the
mongrel proxy and have apache sent that, or use xsendfile.
On 9/13/07, Joel Nylund <jnylund at yahoo.com> wrote:
> Hi, on my site I have several screen casts (using flash video flv) in
> addition to the normal rails application which is the core service,
> my setup is apache proxy/balancing to 2 mongrels.
> I was thinking I should probably not be serving up streaming video
> from mongrel as it will occupy the mongrel processes for long periods
> of time right?
> So I was thinking of excluding a directory from the proxy and serving
> videos up from apache.
> Does anyone have an example of how to do this and or agree its a good
> idea to not serve the videos from mongrel and offload this work to
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
More information about the Mongrel-users