News Feed
Sections




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

Andrew Johnstone's Blog:
Memcached multigets - ubuntu vs debian
June 14, 2011 @ 12:07:29

Andrew Johnstone came across an interesting problem when he tried to use memcached multigets with a large number of keys - it was throwing failures, but only when he tried it on Ubuntu.

I Spent a little while yesterday investigating why memcached causes problems with multigets returning results and ended up comparing debian vs ubuntu. [...] A larger number of keys than 200 causes memcached to fail to return valid responses, additionally the key length greatly varies the number items you can pull back within a single multiget on Ubuntu, Debian implementation of memcached is able to handle all requests regardless of key length size.

He includes the code for his brief test and the output of the test runs on both Ubuntu and Debian systems. They clearly show the failures on the Ubunut side, with it throwing errors about "memcached_oi_read" and a zero length value returned to recv().

0 comments voice your opinion now!
memcached ubuntu debian multigets failure issue


blog comments powered by Disqus

Similar Posts

HowTo Forge: Multisite CVS Drupal Installation on Ubuntu

Mayflower Blog: JavaScript Pitfalls for PHP-Developers

Sanisoft Blog: Radio button issues while migrating from cakePHP-1.2alpha app to 1.2prebeta

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

Web & PHP Magazine: August 2013 Issue - "Keeping it Lean"


Community Events





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


community tips bugfix introduction conference code zendserver symfony podcast api language release development laravel threedevsandamaybe deployment interview list framework series

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