Re: Performance of buffer based functionality (JSON, AES, serialize())
| From: | Ilia Alshanetsky | Date: | Thu, 25 Nov 2010 17:51:50 +0000 |
| Subject: | Re: Performance of buffer based functionality (JSON, AES, serialize()) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50560@lists.php.net to get a copy of this message | ||
I think there is much to gain by improving the serialization speed in
PHP. It is used everywhere from caches like memcache, to sessions or
manual data input into DB. I would say that there are very few
non-trivial apps that would not benefit from a more compact and faster
serializer.
In our specific work-use-case switching to igbinary improved the speed
of the overall page generation by 2-3%.
On Thu, Nov 25, 2010 at 12:47 PM, Andi Gutmans <andi@zend.com> wrote:
> Hi,
>
> Completely different topic :)
>
> I've been looking a bit into performance around json encoding, hashing+encryption (aes)
> and serialize()/unserialize(). Data that is marshaled and often transmitted over the wire.
>
> I know there have been some high-end apps that have benefited from some custom serializers,
> etc... (typically platform dependent).
> I wonder if people here think improvements in these areas would move the needle for the
> majority of mainstream apps or not.
>
> Thanks,
>
> Andi
>