Re: Limiting connection to mysql using old mysql module (not mysqli)
| From: | Per Jessen | Date: | Sat, 22 Sep 2007 08:32:30 +0000 |
| Subject: | Re: Limiting connection to mysql using old mysql module (not mysqli) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262365@lists.php.net to get a copy of this message | ||
Stut wrote:
> Stefano Esposito wrote:
>> i'm in need to limit the numbers of conection to the database,
>> whithout loose of functionality. There is a general strategy to
>> achieve this?
>
> 1) Caching
> 2) Caching
> 3) Caching
>
> And if all that fails...
>
> 4) Caching
And mysqls query cache does that pretty well.
http://dev.mysql.com/doc/refman/5.0/en/query-cache.html
/Per Jessen, Zürich