is it possible for NGINX to have a pool of N open connections to backend? -
trying use nginx reverse proxy, , have constant number of open connections backend (upstream) open @ times.
is possible nginx (maybe haproxy..?) ??
running on ubuntu if makes difference
something can done haproxy. end result there no more n concurrent connections backend server + open connections shared between requests coming different clients.
backend app http-reuse safe server server1 127.0.0.1:8080 maxconn 32 server server2 127.0.0.2:8080 maxconn 32
the example shows 2 servers, haproxy not open more 32 connection each server, , each connection can shared between several clients whenever can done safely.
Comments
Post a Comment