php sessions and memcache
Andy
memcached at thwartedefforts.org
Mon Jul 17 21:26:40 UTC 2006
On Mon, 2006-07-17 at 08:11 -0500, Richard Thomas wrote:
> Currently the php user sessions would require everything be stored as a
> single serialized value, which could be pretty big.
>
> A customized extension could store each value as individual keys and use
> setters and getters to manage those values.
>
> This would allow you to only update keys that have changed instead of a
> large serialized session value.
I have written a PHP5 session handler that does this in PHP code (no C
extension) using mysql for storage -- minor modifications would make it
use memcached instead. It is not publicly available, but I will prepare
it for public consumption tonight. If you want it, shoot me an email at
abakun (same domain this email came from) and I'll email you after it's
up.
--
Andy <memcached at thwartedefforts.org>
More information about the memcached
mailing list