[Info-vax] Apache + mod_php performance

Craig A. Berry craigberry at nospam.mac.com
Fri Sep 27 09:18:07 EDT 2024


On 9/26/24 9:17 PM, Arne Vajhøj wrote:
> On 9/26/2024 9:26 PM, Lawrence D'Oliveiro wrote:
>> On Thu, 26 Sep 2024 21:20:38 -0400, Arne Vajhøj wrote:
>>> A very quick search make me think that the mailbox is only used for
>>> control not for data.
>>
>> Could still be a bottleneck, though.
> 
> If it is only used for the parent to signal the child to terminate?
> 
>>                                      That and the need for all the ASTs.
> 
> Why should AST's be a problem?
> 
> The "call this function when task is done" approach is
> a very common design today. DEC was ahead of time with
> that.
> 
> And implementation wise then the AST's worked on VAX 700
> series 45 years ago. Todays systems are extremely much
> faster - maybe a factor 10000 faster.

There are some limitations around ASTs, especially when mixed with
threads.  The definitive wizard article is here:

https://forum.vmssoftware.com/viewtopic.php?t=5198

But I think your basic question is why Apache is slower than Tomcat,
right?  The only thing I can think of that hasn't already been mentioned
is that Tomcat code is JIT-compiled, which is likely to be pretty good,
optimized code, whereas Apache is probably either cross-compiled or
native-compiled with an early enough field test compiler that there are
no optimizations.



More information about the Info-vax mailing list