Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Single Concurrency

$
0
0
sacon Wrote:
-------------------------------------------------------
> So say we had an 8 core CPU. If I fired up 10 to 12 processes on the
> backend, each with its own port, could I use Nginx to load balance
> HTTP requests to those ports, as if they were multiple backends.

Yes thats possible, you would do this like you would create a pool of php-cgi, 10 of them each reacting in around 0.1 sec would give you resources of about 100 r/s.

> Bottom line, as per original question, can Nginx be configured to do
> reverse proxy to many different ports, but be forced to use those
> ports in a single concurrency mode?

That is default by design, there is no point balancing 10x 10.10.10.1:80 so either the IP's are different or the port or both.
(unless the ip:port resource can multiplex)

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>