阅读背景:

使用PHPRedis和PHP-FPM时如何关闭或重置pconnect()连接?

来源:互联网 

Using PHPRedis and Apache PHP-FPM I'm using the pconnect() call to re-use connections - its been helpful in past to not let the number of connections creep up too high. However in the case where our primary redis node goes down - we automatically promote the slave to master and the old master becomes read-only. The pconnect() however is still holding a connection to the old maste - so set() commands begin to fail.Using PHPRedis and Apache PHP-FPM I'm using the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: