[Typo3-dev] eaccelerator benchmarking

Michael Stucki michael at typo3.org
Wed Nov 30 14:56:33 CET 2005


Hi Ries,

>>>In fact, any tips for PHP, the web server, MySQL or anything will be
>>>welcome !
>>>
>>>We need more speedy tricks!
>>>
> The use of sockets instead of TCP connections to the RDBM also helps
> greatly to increate speed.

This is always the case as long as the webserver is running on the same
machine like the MySQL server! And if the servers are not running on the
same machine, the sockets will not work.

The MySQL documentation writes:

| A MySQL client on Unix can connect to the mysqld server in two different
| ways: By using a Unix socket file to connect through a file in the
| filesystem (default /tmp/mysql.sock), or by using TCP/IP, which connects
| through a port number. A Unix socket file connection is faster than
| TCP/IP, but can be used only when connecting to a server on the same
| computer. A Unix socket file is used if you don't specify a hostname or if
| you specify the special hostname localhost.

Did I miss something?

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/




More information about the TYPO3-dev mailing list