News Feed
Jobs Feed
Sections




News Archive
Gaylord Aulke's Blog:
Dumping MemcacheD Content (Keys) with PHP
September 02, 2008 @ 12:58:59

In a recent blog post Gaylord Aulke illustrated a method for dumping the (key) content from a memcached cache in a friendly, formatted way.

When i did some optimization of a cluster based webapp lately, I was wondering how Memcache was speading my cache entries over the cluster. So i did some research for monitoring tools. [...] Inspired by [memcache.php], i wrote a small script that fetches all data from a memcache cluster, gets all keys out of it and then sorts and displays them in a list. Yes it it ugly and yes: the memcacheD is not answering other requests while doing a cachedump.

He includes the 22 line script in the post to spit back the data in a simple array. From there it can be styled whoever you'd like.

0 comments voice your opinion now!
memcached content key dump output memcachephp statistics


blog comments powered by Disqus

Similar Posts

Matthew Weier O'Phinney's Blog: From the inside-out: How to layer decorators

PHP 10.0 Blog: php -T (variable tainting)

Nick Halstead's Blog: Google Gears Caching of WordPress in PHP

Amazium Blog: PHP in the Dark: Input/Output

Sameer Borate's Blog: Splitting large MySQL dump files


Community Events











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


introduction release composer code testing functional api interview series opinion zendframework2 phpunit framework development language database unittest example community podcast

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