Archive for the 'Memcached' Category

memcache.php can delete keys now

on Wednesday, July 30th, 2008

I’m receiving great comments from everyone since I’ve posted my memcache.php script. Thank you everyone.
I’ve just finished updating the memcache.php to support key deletion.
File is now updated and you can get it from here.
It’ll be updated on the cvs of pecl/memcache soon.

enjoy.

memcache.php is now part of pecl/memcache

on Tuesday, June 3rd, 2008

I’m very happy to announce that memcache.php is commited to the CVS of pecl/memcache. Woot woot!

I’ll be maintaining the code through the time as well. Hope you guys/gals find it useful.

PS: I’m planning to add more functionality to the memcache.php in the coming days. Candidates:

  • Delete/Expire a cached value
  • Move stuff from server to server

Let me know if you have any other ideas.

memcache.php goes PECL

on Monday, June 2nd, 2008

After the suggestion by Lukas, I’ve contacted PECL/memcache authors Antony Dovgal and Mikael Johansson. Mikael sent me a reply accepting my submission.
I’m looking forward to the day that memcache.php will appear in the pecl/memcache distribution.
I’ll keep you posted.

Update on memcache.php:

  • Small bug fixed on parsing the bucket Ids.
  • Distribution license is now PHP license.

memcache.php stats like apc.php

on Wednesday, May 21st, 2008

For a long time I was looking for a nice web interface like the apc.php (comes with the apc’s source) that displays whole nine yards of stats. The only good tool is memcache-tool from the danga guys. It’s quite complete but I guess I’m too lazy to go on the command line.

Anyways, I decided to rip write my own. Totally based on the original apc.php (I even recycled some functions) and apart from completeness, here is a memcache.php that you can get stats and dump from multiple memcache servers.
Here is a screenshot:
Read more…