Re: publish extension

From: Date: Thu, 15 Jan 2015 02:35:14 +0000
Subject: Re: publish extension
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-12526@lists.php.net to get a copy of this message
Some suggestions: 1. remove Makefile, that maybe committed by mistake 2. Add a package.xml file to your repo, you need that to publish to pecl, see <https://github.com/reeze/php-leveldb/blob/master/package.xml> for example 3. You mentioned PHP should compiled without ZTS?, can that be checked at configure time? 4. Could you translate pool.ini's mysql section to english? And we always put explanation comments before the directives. These are what I found for now. On 15 January 2015 at 10:18, guo xinhua <gray198904@gmail.com> wrote: > I have writen a php extension and i want publish to pecl. > > The extension start a proxy process and hold some pdo and redis > connections, > It provide local connect pool like java. > > > Technical characteristics: > > - After each time fetchAll (set/get) call release() method, release > the connection to the pool, avoid that the script jammed causing > connection occupy high. > - The maximum and minimum number of connections configuration support. > - Support small pressure automatic recovery connection. > - Support graceful restart (reload). > - Do a lot of optimization, although the request through the > connection pool process forward, but no loss of QPS. > - When the connection use out,support queue. > - Simple! just change the new method and add release function (see > demon),you used the tcp pool. > - The connection proxy will start the ping process to monitor down > list, if available will reflect to the return value of the > get_disable_list(), use this function you can do some fun things,like > LB. > > The code on git: > github.com/swoole/php-cp > > > I am Gray,25 years old,live in china , my chinese name is xinhua.guo, > i work on jumei. > > > btw:I have translate the conf,demon.php and readme. >

« previous php.pecl.dev (#12526) next »