Re: We have written a PHP extension
| From: | Laruence | Date: | Thu, 01 Dec 2011 07:53:11 +0000 |
| Subject: | Re: We have written a PHP extension | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-8936@lists.php.net to get a copy of this message | ||
HI:
is this a share memory content cache?
I am also from thina, it is very good to see your request.
I would suggest you to host your ext in somewhere that we can have
a look at it ..
thanks
2011/12/1 angela.song <angela.song@kunlun-inc.com>:
> Dear pecl,
>
> We are the PHP developers from Kunlun Group China. We have written a PHP extension and would
> like it listed within the PECL directory.
>
> This extension named ConstCache is an optimizer extension for PHP by C language. It imitates
> the API of Memcache, and adds some additional methods. In order to being beneficial to performance
> optimize, it uses small storage granularity and the way of sharing memory to store data and the data
> will never be deleted(can be full scale clearance).
>
> Name ConstCache
> Summary A C extension for PHP
> Maintainers < angela.song@kunlun-inc.com> (lead)
> License PHP
>
> Some details of ConstCache are as follows,
> A、the configuration of ConstCache:
>
> extension=constcache.so ; The key of semaphore (integer, user-defined)
> constcache.ksem=4567 ; The key of sharing storage (integer, user-defined)
> constcache.kmem=4567 ; The size of allocated sharing storage, measured in M
> constcache.memsize=32 ; The size of hash is 2^x, you’d better not
> exceed 20.The larger size you set, the faster it seeks
> ; but the cost of
> memory is more.
> constcache.hashpower=16
>
> B. ConstCache API:
> It imitates the API of Memcache, and adds some additional methods. Usages are as follows:
>
> $cc = new ConstCache();
> $cc->add("k", 111);
> echo $cc->get("k");
>
> We hope this extenion could be helpful to some other people. We will publish our extension
> ConstCache in PECL later.
>
> Sincerely,
> Angela Song
>
> 2011-12-01
>
>
>
> Angela Song
--
Laruence Xinchen Hui
http://www.laruence.com/