Pyh.conf’25: a new PHP conference for the Russian-speaking community

Voting

: max(eight, four)?
(Example: nine)

The Note You're Voting On

pulstar at ig dot com dot br
21 years ago
Persistent connections either in socket or databases should be used only in servers where the limits are well defined. For example, the number of allowed connections in a database must be greater than the number of Apache's processes, or the connections will be refused by the database (this will surely occur if you use persistent connections). The same may occur with socket connections. This is up to the service configuration. In my opinion, persistent connections are useful only if you have total control over the one or more servers involved, like on a heavy loaded dedicated server for example, where the little gain in performance worth the use of such connections. Never use them in a shared server.

<< Back to user notes page

To Top