News Feed
Sections




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

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

Nexen.net: PHP adoption statistics for September 2006

Paul Reinheimer's Blog: Storing Sessions in Memcache (how everything behaves)

Nexen.net: PHP 4 and PHP 5 are in a boat : from will to reality

Stas Malyshev's Blog: ZF Oauth Provider

Maggie Nelson's Blog: Beyond Error Logs


Community Events

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


symfony2 library part2 conference example community framework api opinion configure introduction interview performance laravel release voicesoftheelephpant php7 podcast series application

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