I writen a php extension and i want publish to pecl. The extension start a process and hold some pdo and redis connections, It provide local connect pool like java.
Tech features: 1.After each time fetchAll (set/get) call release() method, release the connection to the pool, avoid that the script jammed causing connection occupy high problem. 2.The maximum and minimum number of connections configuration support. 3.Support small pressure automatic recovery connection. 4.Support graceful restart (reload). 5.Do a lot of optimization, although the request through the connection pool process forward, but no loss of QPS. 6.When the connection use out,support queue. 7.Simple! just change the new method and add release function (see demon),you used the tcp pool. The code on git: github.com/swoole/php-connect-pool I am Gray,25 years old,live in china , my chinese name is xinhua.guo, i work on jumei. -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
