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
- 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 stats like apc.php
- oci_bind_by_name maxlength is not so optional
- Is Sun going to buy PHP too?(PHP Quebec 2008)
- PHP APC apc_shm_create error on CLI
- Facebook’s Buggy Spam Detection
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 pm