memcache.php flushes servers
by Harun Yayli on Thursday, August 28th, 2008 at 2:23 pm under Memcached, PHP, pecl
Your good comments from all over the world about memcache.php is amazing. Thank you all!
I’ve recently received a contribution from Michael Gauthier. I took the liberty to tweak a bit and now memcache.php can flush individual server (no flush all servers yet).
File is now updated and you can get it from here.
PS: I didn’t receive any feedback from pecl guys about my previous update. I’ll post this to them again. I’ll announce when this version is in pecl/memcache CVS.
Recent Entries
- PHP Gurus in Montreal – I’m looking for 3 of them!
- Looking for 2 PHP Developers in Montreal (Senior and Intermediate)
- The difference between a bug and a feature
- Designing for Social Traction
- How to make Facebook shared links appear nice
- new pecl/memcache is out with memcache.php
- memcache.php flushes servers
- memcache.php can delete keys now
- memcache.php is now part of pecl/memcache
- memcache.php goes PECL
memcache.php is great! Thanks for that. Just posted a code snippet to fetch all existing keys. What do you think of that? see: http://100days.de
August 28th, 2008 at 5:05 pmGaylord
@gaylord.
August 28th, 2008 at 7:06 pmThank you for your comment. I’ve checked you’re snippet. It’s a great idea.
I’m planning to add dumping and moving functionality soon. However I’m not planning to use the pecl extension. I still prefer to use low level sockets to send commands to memcache server. The reason is, you don’t always have the extension installed on every environment that you use for monitoring.
your feed back is very welcomed.
THanks for this script, it is just what I need. I would love on minor enhancement. Can you make the MEMCACHE_SERVERS we can associative array b/c I woud love to be able to add a description for what each server is. I typically start 8 differen bins each for a specific usage and I would rather not remember which port is which usage, but instead have a description that appears in parens next to the localhost:11213, etc.
Anyway, that is minor, the script works great. Thanks.
September 11th, 2008 at 12:23 pmGreat script! Helped me see how my memcache servers are being utilized by our code. One quick question.
What will I see after I click the “Flush this server” link? I click on that link and I see “Flush ::OK”. I go back to the main screen and I see the same Used Cache Size value being shown before I clicked the flush server link.
November 16th, 2010 at 8:13 pmThank you for memcache.php !! It has helped me a lot. Good luck on future projects!
September 28th, 2012 at 2:29 pm