Re: User defined session serialize handler
| From: | Yasuo Ohgaki | Date: | Sat, 24 Jan 2015 09:03:19 +0000 |
| Subject: | Re: User defined session serialize handler | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81071@lists.php.net to get a copy of this message | ||
Hi Thomas,
On Sat, Jan 24, 2015 at 12:45 PM, Thomas Bley <mails@thomasbley.de> wrote:
> Sessions take a big amount of data in production systems, so it might be
> worth to use msgpack (or others) as an option.
Yes, it is.
PHP's serialize (both php/php_serialize handler uses PHP's serialize) is
not a fastest serializer.
msgpack seems good. I'll try few serialize methods see if there is good one
or even may write
binary serializer for the best performance. Once user defined session
serialize handler is
implemented, users may try various serializers by themselves, too.
Thank you for your feedback!
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net