Summary


In general, persistent database connections are a very powerful component of PHP. A lot of speed can be gained by "recycling" backend processes, which is very important on high-performance Web sites.

Persistent database connections also have disadvantages. In addition to risks concerning the memory usage of your server, persistent database connections can also be a problem, when dealing with transactions, if your code does not contain a perfect transaction handling system.

It's up to you to decide whether persistent database connections are an advantage for your Web site.



PostgreSQL Developer's Handbook2001
PostgreSQL Developer's Handbook2001
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 125

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net