Re: [PHPLIB] Re: [PHP3] persistent data From: Kristian Koehntopp (kris <email protected>)
Date: 03/30/00

On Thu, Mar 30, 2000 at 12:03:06AM -0800, Gary Bickford wrote:
> Kristian Koehntopp wrote:
> What if the mysql server is on another host, all by itself?
> In that case you wouldn't have the context switch, but you
> would have the network overhead.

In fact for most installations following that pattern the
parameter governing their performance is the network RTT between
web server and database server. I have had two cases where
PHPLIB deployers asked me to improve performance and where their
installation had an offsite database server with RTTs above
35ms. That's at least an additional 70ms per page produced.

In a local ethernet with a dedicated database server, RTT is
usually around 1ms. That's better, but still far slower than a
local database server via Unix Domain Sockets.

Kristian

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.