Is there a limitation in nginx on the number of simultaneous via proxy_pass

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Is there a limitation in nginx on the number of simultaneous via proxy_pass

satay
Is there a limitation in nginx on the number of simultaneous via proxy_pass
"<a href="http://192.168.1.2:90xx">http://192.168.1.2:90xx"?

From the source <a href="http://192.168.1.2:90xx">http://192.168.1.2:90xx MJPEG is transmitted. Speed 200
kB/sec.

The browser displays only 6 video streams (id=1 ... id=6).
Threads id=7 ... id=9 not visible.

index.html
-----------------------------
<body bgcolor=gray>
<div class="d-table">
  <div class="d-tr">
  <div class="d-td" id="1">
      <img src="/aaa/">
     </div>
    <div class="d-td" id="2">
    <img src="/bbb/">
    </div>
    <div class="d-td" id="3">
    <img src="/ccc/">
    </div>
  </div>
  <div class="d-tr">
  <div class="d-td" id="4">
      <img src="/ddd/">
     </div>
    <div class="d-td" id="5">
    <img src="/eee/">
    </div>
    <div class="d-td" id="6">
    <img src="/fff/">
    </div>
  </div>
  <div class="d-tr">
  <div class="d-td" id="7">
      <img src="/ggg/">
     </div>
    <div class="d-td" id="8">
    <img src="/hhh/">
    </div>
    <div class="d-td" id="9">
    <img src="/iii/">
    </div>
  </div>
</div>


nginx.conf
---------------------------
http {

...

server {
        listen 80 default_server;

...
       
        location /aaa/
        {
                proxy_pass "http://192.168.1.2:9000";
        }

        location /bbb/
        {
                proxy_pass "http://192.168.1.2:9001";
        }

        location /ccc/
        {
                proxy_pass "http://192.168.1.2:9002";
        }

...

        location /xxx/
        {
                proxy_pass "http://192.168.1.2:9012";
        }
}
}

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

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx
Reply | Threaded
Open this post in threaded view
|

Re: Is there a limitation in nginx on the number of simultaneous via proxy_pass

Hung Nguyen-2
No, it’s browser limitation

--
Hưng

> On Aug 22, 2019, at 18:44, glareboa <[hidden email]> wrote:
>
> Is there a limitation in nginx on the number of simultaneous via proxy_pass
> "<a href="http://192.168.1.2:90xx">http://192.168.1.2:90xx"?
>
> From the source <a href="http://192.168.1.2:90xx">http://192.168.1.2:90xx MJPEG is transmitted. Speed 200
> kB/sec.
>
> The browser displays only 6 video streams (id=1 ... id=6).
> Threads id=7 ... id=9 not visible.
>
> index.html
> -----------------------------
> <body bgcolor=gray>
> <div class="d-table">
>  <div class="d-tr">
>          <div class="d-td" id="1">
>              <img src="/aaa/">
>          </div>
>        <div class="d-td" id="2">
>            <img src="/bbb/">
>        </div>
>        <div class="d-td" id="3">
>            <img src="/ccc/">
>        </div>
>  </div>
>  <div class="d-tr">
>          <div class="d-td" id="4">
>              <img src="/ddd/">
>          </div>
>        <div class="d-td" id="5">
>            <img src="/eee/">
>        </div>
>        <div class="d-td" id="6">
>            <img src="/fff/">
>        </div>
>  </div>
>  <div class="d-tr">
>          <div class="d-td" id="7">
>              <img src="/ggg/">
>          </div>
>        <div class="d-td" id="8">
>            <img src="/hhh/">
>        </div>
>        <div class="d-td" id="9">
>            <img src="/iii/">
>        </div>
>  </div>
> </div>
>
>
> nginx.conf
> ---------------------------
> http {
>
> ...
>
> server {
>    listen 80 default_server;
>
> ...
>    
>    location /aaa/
>    {
>        proxy_pass "http://192.168.1.2:9000";
>    }
>
>    location /bbb/
>    {
>        proxy_pass "http://192.168.1.2:9001";
>    }
>
>    location /ccc/
>    {
>        proxy_pass "http://192.168.1.2:9002";
>    }
>
> ...
>
>    location /xxx/
>    {
>        proxy_pass "http://192.168.1.2:9012";
>    }
> }
> }
>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285362,285362#msg-285362
>
> _______________________________________________
> nginx mailing list
> [hidden email]
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx
Reply | Threaded
Open this post in threaded view
|

Re: Is there a limitation in nginx on the number of simultaneous via proxy_pass

satay
If do index.html and nginx.conf like below, that displays all

index.html
-------------------------
<div class="d-td" id="1">
   <img src="/aaa/">
</div>
...

nginx.conf
---------------------------
location /aaa/
{
   rewrite ^/aaa/  http://mysite.org:9000";
}
...

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285362,285377#msg-285377

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx
Reply | Threaded
Open this post in threaded view
|

Re: Is there a limitation in nginx on the number of simultaneous via proxy_pass

satay
In reply to this post by Hung Nguyen-2
Hung Nguyen: No, it’s browser limitation  

You're right, this is a browser limitation

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285362,285494#msg-285494

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx