Some HTTP load balancers perform additional duties such as acting as a
web application firewall (WAF). The load balancer/WAF helps to weed out
attacks (and balance load) leaving the back end servers focusing on what
are seen as legitimate requests... each portion of the reverse proxy
environment focusing on what it does best. Load balancing WAFs are a
common part of the HTTP environment where security is a requirement.
Jim
On 5/27/2021 8:02 AM, Daniel Ferradal wrote:
if you have thousands of connections you need to have more servers
and then a balancer will help spreading the load (not increasing
performance) among all the servers, or add bigger figures to your mpm
settings in your single server (if the hardware will be able to cope
with it).
If you have thousand of connections and just 800 workers, then it is
logical that it clogs.
Supposing 800 connections would be enough for peaks if you want no
clogging with prefork because load is quite variable it is better to
specify a higher minspareservers value (more workers readily
available, not have to be spawned, less cpu usage because less
processes have to be spawned).
I would try to go for event asap though, much better to have to spawn
8 processes with 100 threads than 800 processes.
El jue, 27 may 2021 a las 13:35, Marc Serra (<mse...@manxa.com
<mailto:mse...@manxa.com>>) escribió:
Thank's Eric, I understand.
But if configuring a load balancer I'm adding another hop with
reducing the performance, seems that is not the best way to
improve this performance, correct?
As I explained before, it's only a test setup before move to a
real environment.
Now I have a single server (8 cores, 32GB RAM with prefork) and
the following apache tunning. In some moments, I have thousands of
concurrent connections that collapse the server and I thought the
best way to fix this was by setting up a load balancer. Isn't it?
ServerLimit 800
StartServers 10
MinSpareServers 200
MaxSpareServers 400
MaxRequestsWorkers 800
MaxConnectionsPerChild 10000
Missatge de Eric Covener <cove...@gmail.com
<mailto:cove...@gmail.com>> del dia dj., 27 de maig 2021 a les 13:15:
On Thu, May 27, 2021 at 7:06 AM Marc Serra <mse...@manxa.com
<mailto:mse...@manxa.com>> wrote:
> I has inverted the results! I'm sorry!
I see -- I think this is a case where you aren't taxing either
backend
and you've just added another hop.
This is probably especially true when testing static files.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
<mailto:users-unsubscr...@httpd.apache.org>
For additional commands, e-mail: users-h...@httpd.apache.org
<mailto:users-h...@httpd.apache.org>
--
Marc Serra
Organització i Sistemes
/Manxa 1876, S.L. /
/Ctra. Les Tries, 85. 17800 Olot (Girona)///
//Tel. 972 27 45 30 Fax 972 27 45 32//
* Manxa Industrial | *Coneix més aquí <http://www.manxaindustrial.com>
* Manxa Ferros | *Coneix més aquí <http://www.manxaferros.com/>
* Manxa Ferreteria i Parament de la Llar | *Coneix més aquí
<https://www.manxabricolatge.com>
**
El contingut d’aquest correu electrònic i els seus annexos és
estrictament confidencial. En el cas que no siguis el destinatari
i hagis rebut aquest missatge per error, preguem que ho comuniquis
al remitent i procedeixis a la seva eliminació, sense difondre,
emmagatzemar o copiar el seu contingut.Imprimeix aquest correu
només si és necessari.
El contenido de este correo electrónico y sus anexos es
estrictamente confidencial. En el caso de que no seas el
destinatario y hayas recibido este mensaje por error, rogamos lo
comuniques al remitente y procedas a su eliminación, sin difundir,
almacenar o copiar su contenido.Imprimir este correo solo si es
necesario.
The content of this email and its attachments is strictly
confidential. If you are not the recipient and you have received
this message by mistake, please notify the sender and proceed to
its elimination, without spreading, storing or copying its
content. Print this email only if necessary.
Le contenu de cet e-mail et de ses pièces jointes est strictement
confidentiel. Dans le cas où vous n'êtes pas le destinataire et
avez reçu ce message par erreur, veuillez en informer l'expéditeur
et procéder à sa suppression, sans diffuser, stocker ou copier son
contenu.Imprimez cet e-mail uniquement si nécessaire.
--
Daniel Ferradal
HTTPD Project
#httpd help at Libera.Chat