Search code examples
phpbinarymemcachedigbinary

php, memcached, binary protocol


I'm trying to squeeze each bit from an application I'm writing, I've already installed and configured igbinary for serialization on apc, sessions etc. I'd like to know if any of you have actual benchmarks with php and memcached using binary protocol. is it something valuable?

$memcache->setOption(Memcached::OPT_SERIALIZER, Memcached::SERIALIZER_IGBINARY);
$memcache->setOption(Memcached::OPT_BINARY_PROTOCOL,true);

thanks!


Solution

  • maybe this will help you decide.

    http://www.slideshare.net/tmaesaka/memcached-binary-protocol-in-a-nutshell-presentation