News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Mikko Koppanen:
Memcached protocol support
November 15, 2013 @ 11:15:38

Mikko Koppanen has posted about some updates he's making to the PECL memcached extension, more specifically around binary protocol support.

There are quite a few things still missing and only binary protocol is supported at the moment, but the code seems to work reasonably well in small-scale testing. I am not sure whether this is useful for anyone, but at least it allows things such as quick prototyping of network servers, exposing sqlite database over memcached protocol etc.

An example of code using this new functionality is included in the post showing how to create both a simple sever with attached "get" and "set" handlers and a client to connect to it and enable the binary protocol.

The code is still work in progress but it's available in github: https://github.com/mkoppanen/php-memcached/tree/feature-server. Note that you need to compile libmemcached with -enable-libmemcachedprotocol and the PECL memcached extension with -enable-memcached-protocol.
0 comments voice your opinion now!
memcached binary support protocol pecl update

Link: http://valokuva.org/memcached-protocol-support/

blog comments powered by Disqus

Similar Posts

Community News: Latest PECL Releases for 11.28.2006

Edin Kadribasic's Blog: PECL4WIN Build Box Dead

Pierre-Alain Joye's Blog: Zip-1.7.5 works even with broken path

Rob Allen's Blog: ID!=id (Zend Framework Tutorial Updates)

Christian Stocker's Blog: Added xslt profiling to PHP 5.3 and 6 CVS


Community Events











Don't see your event here?
Let us know!


opinion release unittest example install security package composer code overview hack component introduction facebook podcast language framework hhvm application symfony2

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework