Re: Memcache session handler
| From: | Glenn Richmond | Date: | Mon, 23 Oct 2006 08:19:36 +0000 |
| Subject: | Re: Memcache session handler | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-4273@lists.php.net to get a copy of this message | ||
ok, sure. I initially implemented it into the main PHP source tree using
the libmemcache library. I'll try to implement in pecl-memcache using
built in driver and see how I go.
Regards,
Glenn.
Antony Dovgal wrote:
> On 10/23/2006 05:24 AM, Glenn Richmond wrote:
>> Hi All,
>>
>> I've been having a look at using memcache for session handling in a
>> clustered environment in order to achieve a shared session storage
>> method. I have the basic functionality working and the code is fairly
>> straight forward, so would like to make it part of the PECL memcache
>> package if at all possible. I also noticed that someone else had a shot
>> at creating the memcache session handler, but couldn't find it they ever
>> checked it in or not.
>>
>> I discussed this with the main PHP-dev list, but the general opinion was
>> that it should be made as a package, either as part of PECL-memcache or
>> on its own. I'd prefer to make it part of PECL memcache as the memcache
>> library can be shared.
>>
>> So, a couple of questions:
>>
>> * Are people generally happy that I should add a memcache session
>> handler to the memcache PECL package? If not, recommendations?
>
> I don't see any problems with that.
>
>> * If so, what is the process for doing this? i.e. is there a QA
>> procedure that needs to be followed?
>
> First of all, you should show us the code.
> Then try to include it in PECL/memcache yourself and check if it
> doesn't break anything (the tests are in tests/ directory).
> Quite possible you would want to add some more tests to test the new
> functionality.
> Then send the patch to the list.
>