New answers tagged haproxy
First you have see the differences between both options load balancing (without cluster) and Cluster with replication. Clustering has a formal meaning. A cluster is a group of resources that are trying to achieve a common objective, and are aware of one another. Clustering usually involves setting up the resources (servers usually) to exchange ...
Since MariaDB Galera cluster versions 5.5.40 and 10.0.14 you can use the query cache. Earlier versions do NOT support the query cache. See https://mariadb.com/kb/en/mariadb/documentation/optimization-and-tuning/buffers-caches-and-threads/query-cache/#limitations
The short answer is no. To split load in an RDS environment, you need to use multiple connections from your application - normally one connection to the read-replica for reads, one connection to the master for writes. This is because a read replica is just that - a read replica, using MySQL master/slave replication - which by default cannot accept write ...
It's probably the health checks that are triggering the ban, as they're not sending a hostname. You can try using 'httpchk' or 'ssl-hello-chk' instead, which might resolve the issue and allow you to re-enable fail2ban.
Take a look at nbproc setting and see if that helps by utilizing more then one core. For most hardware load balancers the amount of traffic you can handle is capped by your cpu/memory of the load balancer. 1.5) Increasing the overall processing power -------------------------------------------- On multi-processor systems, it may seem to be a shame to use ...
Outside of the configuration of haproxy it would help to do some network tuning. One specific thing that may help is ensuring your network interfaces aren't pinned to a single CPU (assuming you are using multiple interfaces). If you are running haproxy on Linux you can check the balance like so: egrep CPU\|eth /proc/interrupts For example, this shows ...
100,000 connections is a lot... Are you pushing that much? If so... maybe splitting the frontend such that it binds on one ip for static content and one ip for app content and then run the static and app variants as separate haproxy processes (assuming you have a second core / cpu on the server)... If nothing else it will narrow the usage down to the app or ...
You need to name your cookie: cookie name. Currently it is being named "check," resulting in no checks.
Short answer: Yes Let's have a look at server keyword arguments documentation: <address> is the IPv4 or IPv6 address of the server. Alternatively, a resolvable hostname is supported, but this name will be resolved during start-up. Address "0.0.0.0" or "*" has a special meaning. It indicates that the connection will be ...
Top 50 recent answers are included