What is the optimized configuration for FLV stream

Hi,

I’m configing a http(pseudo)-stream server for flv media files. As a
newcomer to Nginx, I’m wondering what is the special configuration
should I care about on performance/throughput etc. The following is my
current config which is straightforward:

# My Stream media(flv) server

server {

    listen       80;

    server_name  vd.my.domain;

    default_type  application/octet-stream;

    sendfile        on;

    root /path/to/flv/files/

    location ~* \.flv$ {
        flv;
    }
}

I fount some points in this post
nginx slow at
streaming flv
”, but it’s seemed a bit old and some directives not
available in the latest nginx version . Any suggestion ?

Especially, according to the post mentioned above, should I turn off the
sendfile ? shoud it be better to using directio and
read_ahead ? or should I put another Nginx instance in front of
this one to proxy it to use the proxy cache ability of nginx? I know
the best way is to test by myself, but a right direction guide will help
me a lot.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,169958,169958#msg-169958

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs