Suggestions for streaming architecture
jombik at platon.org
Sun Mar 18 08:09:01 UTC 2012
I am building new streaming architecture and I would like to ask you
sugestions. We will stream FLV and MP4, both using native nginx modules.
There is one storage server and 4 video streamers. Storage server
contains all the FLV and MP4 files. Streamers by default does not
contain anything (except configuration), but they have fast SAS drives
in RAID-0, what we can use for caching/mirroring/whatever.
Our goal is to move load from storage server to those streamers.
Because all the servers are on the same gigabit LAN, I can have any
setup I want. I see these three options:
1. mount storage via NFS and stream files from this NFS
(I have no idea how to setup caching/mirroring in this case)
2. forward all the request to storage backend and use proxy_cache on
streamers (this will, however, cache also request with start=NN,
where NN>0, so I might have cache poluted with a lot of unusable
3. use proxy_store; documentation says it is mirror on demand, but
how to mirror only whole MP4/FLV files in this mirror-on-demand?
If there is any other possibility how to do this, please suggest.
Thanks for you suggestions
Platon Technologies s.r.o., Hlavna 3, Sala SK-92701
+421 903 PLATON - info at platon.org - http://platon.org
More information about the nginx