Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Regarding maxconn parameter in backend for connection queueing

$
0
0

@dvelan wrote:

Team,
I would like to achieve queuing solution when specifying the "maxconn" in backend , seems maxconn is applicable only for concurrent requests.

my requirement is to allow only 100 users/requests and further connections/requests to be queued up and released when any of the connected connections are released from backend server. How do I acheive this?

should I set maxconn in frontend as well to restrcit and queue the connection?

HAPROXY 1.6.12
Red Hat Linux 7.2 (3.10.0)
backend server is "Weblogic 12c (12.1.3)"

below are my current setting

global
daemon
maxconn 4096
defaults
log global
mode http
option http-keep-alive
timeout connect 6000000ms
timeout client 6000000ms
timeout server 6000000ms
timeout queue 60000ms

listen stats
bind *:9090
mode http
stats enable
stats refresh 5s
stats realm Haproxy\ statistics
stats uri /
stats auth weblogic:weblogic1

frontend http-in

timeout client 5000ms

maxconn 8

bind *:8050
default_backend servers

backend servers
balance roundrobin
cookie prefix nocache
option prefer-last-server
server srv1 : check cookie srv1 maxconn 4

Regards,
Vel

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



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