[TYPO3-performance] php serializer replacement igbinary - anyone?

Jeff Segars jsegars at alumni.rice.edu
Wed Oct 27 00:28:39 CEST 2010


Hey Georg,
I've used it on an extbase project where we were serializing the domain 
models for 12,000 products and it helped the speed a lot.

We implemented it as a cachingframework frontend inside its own 
extension. The code is very simple, but I'd be happy to share it with 
others if anyone is interested.

Thanks,
Jeff

On 10/26/10 12:21 PM, Georg Kuehnberger wrote:
> Hi all,
>
> As you all know php serialize/unserialize are not the fastest performing
> functions when used with larger datasets and for caching-purposes like
> mysql/fs/memcached (like TYPO3 does).
>
> Lately I stumbled across a project called igbinary which describes
> itself like this:
>
> What it is?
> -----------
> Igbinary is a drop in replacement for the standard php serializer.
> Instead of time and space consuming textual representation, igbinary
> stores php data structures in a compact binary form. Savings are
> significant when using memcached or similar memory based storages for
> serialized data.
>
> In addition igbinary is also natively supported by memcached.
>
> Questions:
> a) Does anyone of you already use the igbinary module?
> b) Any experiences with igbinary & TYPO3?
>
> regards Georg
>
> Links:
> http://github.com/phadej/igbinary#readme
> http://opensource.dynamoid.com/
> http://ilia.ws/archives/211-Igbinary,-The-great-serializer.html



More information about the TYPO3-performance mailing list