[Info-vax] Apache + mod_php performance

Arne Vajhøj arne at vajhoej.dk
Wed Oct 2 14:30:16 EDT 2024


On 10/2/2024 2:15 PM, Simon Clubley wrote:
> On 2024-10-02, Arne Vajhøj <arne at vajhoej.dk> wrote:
>> On 10/2/2024 1:52 PM, Simon Clubley wrote:
>>> Does it reuse an existing connection for the next request (which is
>>> what you have told the server you are going to do due to your keep-alive
>>> settings) or does it always create a brand-new connection for the next
>>> request ?
>>
>> New connection.
>>
>> It is simulating multiple browser instances.
>>
>> Browser #1 open connection to request the page - keep
>> the connection alive, because it may want to use it later.
>>
>> Browser #2 open connection to request the page - keep
>> the connection alive, because it may want to use it later.
>>
> 
> Are you closing down the current instance of the client and then
> starting up a new instance of the client ?
> 
> or
> 
> Are you keeping the existing process running and creating a new
> instance from it ?

Existing process.

> In either case, are you _cleanly_ and _fully_ closing the existing
> connection _before_ you exit or create a new connection in the existing
> process ?

No.

Because browser instances do not do that. Browsers keeps
connections open for a long time. I believe 300 seconds is common.

Arne



More information about the Info-vax mailing list