Примеры использования Persistent connections на Английском языке и их переводы на Русский язык
{-}
-
Official
-
Colloquial
Does Zend_Db Support Persistent Connections?
See the persistent connections section for more information.
The value may be retained across persistent connections.
Use persistent connections to the database to avoid connection overhead.
There are a couple of additional caveats to keep in mind when using persistent connections.
Persistent connections were designed to have one-to-one mapping to regular connections. .
In this case, you do not gain anything from trying to use persistent connections-- they simply don't persist.
If persistent connections don't have any added functionality, what are they good for?
By default, Internet Explorer versions 6 and 7 use two persistent connections while version 8 uses six.
Persistent connections are links that do not close when the execution of your script ends.
The bottom line is that if that connection overhead is high, persistent connections help you considerably.
Persistent connections time out after 60 seconds of inactivity which is changeable via the Windows Registry.
Better yet, avoid the problem entirely by not using persistent connections in scripts which use table locks or transactions you can still use them elsewhere.
Persistent connections time out after 115 seconds(1.92 minutes) of inactivity which is changeable via the configuration.
In fact, to be extremely clear about the subject, persistent connections don't give you any functionality that wasn't possible with their non-persistent brothers.
We have created new edge server locations in Sydney, Tokyo, Singapore, Ireland, Sao Paolo, Frankfurt, and Los Angeles,each with accelerated persistent connections to the BrickFTP core storage facility in Virginia, USA.
If you use persistent connections, your application could access invalid or privileged data that were created in a previous PHP request.
The HTTP persistent connections do not use separate keepalive messages, they just allow multiple requests to use a single connection. .
If you cannot use persistent connections and you are initiating many new connections to the database, you may want to change the value of the thread_cache_size variable.
Please note that using persistent connections can cause an excess of idle connections on the RDBMS server, which causes more problems than any performance gain you might achieve by reducing the overhead of making connections. .
Persistent connections are cached and re-used between requests, resulting in reduced overhead on each page load; a typical PHP application will have a single persistent connection open against an Oracle server per Apache child process or PHP FastCGI/CGI process.
Requires persistent connection to the license server.
When a persistent connection is requested, PHP checks if there's already an identical persistent connection(that remained open from earlier)- and if it exists, it uses it.
When opening a persistent connection, every following page requesting SQL services can reuse the same established connection to the SQL server.
This means that for every child that opened a persistent connection will have its own open persistent connection to the server.
For example, if you had 20 different child processes that ran a script that made a persistent connection to your SQL server, you would have 20 different connections to the SQL server, one from each child.
One is that when using table locking on a persistent connection, if the script for whatever reason cannot release the lock, then subsequent scripts using the same connection will block indefinitely and may require that you either restart the httpd server or the database server.
Just 15 years later, almost half of them had persistent broadband connections.
In HTTP 1.1, all connections are considered persistent unless declared otherwise.
It supports persistent stateless connections very similar to those offered by the various RDB APIs that are available for PHP.