Help to understand proxy_pass and proxy_cache

Hi guys,
i would like to understand if nginx can be used for my request, i try to
explain:

i have a http mpegts server
we are 5 client

normally someone think to connect all together to the server like:

client1------------------->
client2------------------->
client3-------------------> http server
client4-------------------> /
client5-------------------> /

but i can’t do for reson of bandwitch ( 5 stream take around 20/22 mb )

so i would like to use nginx in the middle, like:

client1------------------->
client2------------------->
client3-------------------> (nginx proxy with cache stream)
<----------->
http server
client4-------------------> /
client5-------------------> /

5 client request the same source to my local nginx server

nginx get the stream from the main server ( in this case take only 4mb
and
sharing the cache with 5 client )

can be possible??

thx

Posted at Nginx Forum:

Hi

If your http server is on linux, why not simply use iptables to limit
the speed per request?

Anyways, yes, you can use nginx to limit transfer speeds.

Nginx has several examples on the wiki

Cherrs,
Payam chychi