[prev in list] [next in list] [prev in thread] [next in thread]
List: pecl-dev
Subject: [PECL-DEV] Re: publish extension
From: guo xinhua <gray198904 () gmail ! com>
Date: 2015-01-16 3:48:00
Message-ID: CAK=uMon2cd-5jrhXAoa53jrb7KHH7DHKbBgg6aJsNwrrS0uTJA () mail ! gmail ! com
[Download RAW message or body]
thank you for you suggestions reeze.
and i have fix the 4 suggestions now.
2015-01-15 10:35 GMT+08:00 reeze <reeze@php.net>:
> 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.
>
>
--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic