diff --git a/reference/memcache/functions/memcache-addserver.xml b/reference/memcache/functions/memcache-addserver.xml index f47f94a259..bc8b59cc0d 100644 --- a/reference/memcache/functions/memcache-addserver.xml +++ b/reference/memcache/functions/memcache-addserver.xml @@ -1,5 +1,5 @@ - + Memcache::addServer @@ -22,14 +22,19 @@ Memcache::addServer adds a server to the connection - pool. The actual connection is established on first use. - The connection, which was opened using - Memcache::addServer will be automatically closed at the - end of script execution. Also you can close it with - Memcache::close. + pool. The connection, which was opened using Memcache::addServer + will be automatically closed at the end of script execution, you can also close it + manually with Memcache::close. You can also use the memcache_add_server function. + + When using this method (as opposed to Memcache::connect() and + Memcache::pconnect()) the network connection is not established + until actually needed. Thus there is no overhead in adding a large number of servers + to the pool, even though they might not all be used. + + Failover may occur at any stage in any of the methods, as long as other servers are available the request the user won't notice. Any kind of