note 19630 added to function.mssql-connect

From: Date: Wed, 06 Mar 2002 13:09:29 +0000
Subject: note 19630 added to function.mssql-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-27404@lists.php.net to get a copy of this message
i experienced problems when using the servers ip address instead of its domain name as hostname. it seems that the client library does some reverse dns lookups and waits for a timeout. in fact connection to the ip address takes 5 - 6 seconds (!) while connecting to the domain name is a task of about 100 ms. although it sounds contraproductive it did improve performance alot on my site and i don't want to understand why (weird m$ stuff). harald -- http://www.php.net/manual/en/function.mssql-connect.php http://master.php.net/manage/user-notes.php?action=edit+19630 http://master.php.net/manage/user-notes.php?action=delete+19630 http://master.php.net/manage/user-notes.php?action=reject+19630

« previous php.notes (#27404) next »