| Deutsch English Français Italiano |
|
<vcv0bl$39mnj$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk>
Newsgroups: comp.os.vms
Subject: Apache + mod_php performance
Date: Tue, 24 Sep 2024 14:28:05 -0400
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <vcv0bl$39mnj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 24 Sep 2024 20:28:06 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="55bc3446791cac089b6f2d4fb68f164c";
logging-data="3463923"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Spx4DeIhPuV0Vf5hzxVnEfSeb3KPnWnE="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:D9uXFDCIMqC5Nk+ptz1/2I4Mg3g=
Content-Language: en-US
Bytes: 2051
I am not impressed by Apache + mod_php performance on VMS.
The basic numbers I see (simple PHP code for getting some data
out of a MySQL database and displaying) are:
Apache + CGI : 4 req/sec = 240 req/min
Apache + mod_php : 11 req/sec = 660 req/min
Tomcat + Quercus : 127 req/sec = 7620 req/min
(VMS x86-64 9.2-2, Apache 2.4-58, Berryman PHP 8.1,
Java 8u372, Tomcat 8.5-89, Quercus 4.0)
That CGI is slow is no surprise. Using CGI for performance
is like doing 100 meter crawl dressed in medieval armor.
But I had expected much better numbers for mod_php. Instead
of the actual x2.5 and x10 I had expected like x10 and x2.5
between the three.
Anyone having any ideas for why it is like this and what
can be done about it?
Arne
PS: And before anyone jump at the great Quercus numbers - yes
Quercus is a very nice product, but Resin stopped development
many years ago and it is stuck at PHP 5.x - so it is only
a solution for DIY PHP 5.x code not a solution for any
recent version of common MVC frameworks like Lareval.