Question

We've been running eAccelerator on each of 3 webservers and are looking to move to a memcache pool across all 3, hopefully reducing by about 2/3 our db lookups.

One of the handy things about eAccelerator is the web-based control interface (control.php), which has proved very useful when we've had to flush the cache unexpectedly, quickly monitor which scripts are in cache, etc.

We've been looking but haven't found anything that offers the same type of functionality for memcache - does anyone know if such a thing exists?

Obviously flushing cache etc is easy enough with memcache on the console, but our particular set-up means we may have guys monitoring our front-end and needing to flush the cache who will not necessarily have shell access on the servers.

Was it helpful?

Solution

memcache.php may be what you're looking for.

memcache.php that you can get stats and dump from multiple memcache servers.

Can delete keys and flush servers.

OTHER TIPS

I know this is a late addition to an old question but none of the answers were a simple plain solution, so i created one and put it up on github for you to enjoy:

Screenshoots

Login server info Some charts Stored keys

If all you need to do is to be able to flush the cache from a web-application, you could create a simple php-page and then use the system() call...

Cache flushing is part of what we're looking for, but also a way to monitor what scripts are currently in there, how much data is in there, etc - basically the same stuff available on the EA control panel page.

We've played around with munin plugins for showing data usage, and were thinking we'd have to go down the line suggested above (system calls, etc), but were hoping that someone, somewhere would have rolled something similar already!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top