publish extension
| From: | guo xinhua | Date: | Sat, 20 Dec 2014 13:19:57 +0000 |
| Subject: | publish extension | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-12487@lists.php.net to get a copy of this message | ||
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.