[Info-vax] Apache + mod_php performance

Arne Vajhøj arne at vajhoej.dk
Fri Sep 27 21:54:54 EDT 2024


On 9/27/2024 8:13 PM, Arne Vajhøj wrote:
> On 9/27/2024 7:55 PM, Lawrence D'Oliveiro wrote:
>> On Fri, 27 Sep 2024 19:34:07 -0400, Arne Vajhøj wrote:
>>> Sending SQL query from web server to database server over the network,
>>> having database server find data and sending data from database server
>>> to web server over the network takes time. Milliseconds.
>>
>> You know we can use AF_UNIX sockets within the same machine, right?
> 
> If supported.
> 
> But in that case latency will be small. Microseconds.
> 
> But running application and database on same system is not
> an option if it is a high volume solution or a high availability 
> solution with load sharing application and failover database.

Note that besides the Unix sockets then some databases also
supports shared memory.

That includes both MS SQLserver and Oracle Rdb.

Oracle Rdb is interesting because it out of the box
supports loadsharing database, which makes application
and database on same servers a bit easier.

In that regard Rdb is pretty cool!

Arne



More information about the Info-vax mailing list