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

Why do you need to reduce database connections? Is the site really busy enough to be legitimately maxing it out? Have you optimised the crap out of the database usage?

If the site really has reached the limit and you can't find any code optimisations then you need to look at adding more hardware. Assuming you've developed the site "properly" you shouldn't have any problems scaling it horizontally.

-Stut

--
http://stut.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to