Should you cache?

Aug 17, 2008 02:21

Should you use memcached? Should you just shard mysql more?

Memcached's popularity is expanding its use into some odd places. It's becoming an authoritative datastore for some large sites, and almost more importantly it's sneaking into the lowly web startup. This is causing some discussionMost of whom seem to be missing the point. In this post I ( Read more... )

memcached, scale, mysql

Leave a comment

Comments 7

Great Post - Thankyou geoffmcqueen August 17 2008, 10:32:48 UTC
Alan,

Great post - don't apologise for quality taking time, and thanks for writing it!

Geoff

Reply


deflatermouse August 17 2008, 14:09:17 UTC
+1

Reply


powerlord August 17 2008, 16:08:28 UTC
Nonsense, memcached is a panacea for everything!!!!111

Reply

pyrop August 17 2008, 19:41:23 UTC
Memcached fixed my cat's flea problem. No joke!

Reply

sodabrew August 19 2008, 21:56:58 UTC
Mine too! It seems the fleas kept checking for $flea->has_kitty, and because I was keeping the canonical state of the $flea object in memcached, and I had a system failure on that box, I lost all the state records and killed all the $fleas.

Reply


boogabee August 18 2008, 03:04:33 UTC
I have to agree with the thought that memcache does not scale your website. I'm fighting consistently to stop the notion that a horrible sql query doesn't matter because we'll memcache the result. Putting memcache in front of bad backend design is not a fix, it only masks the problem for a short amount of time. An additional fight that I run into is that memcache is a data repository you can depend upon. I run into the idea that people can stash things there and then come back at any time and get it dependably. I'm not sure if this is just my environment or a more widespread view. I love memcache, but I'm seeing it used in many ways and instances where it shouldn't.

Reply


Should I use memcached? diamondeagle June 11 2009, 20:01:44 UTC
I'm a bit confused...

I'm running a PHP web application (Moodle) on a Windows 2003 Server machine. It uses a MSSQL 2005 database on a separate database server. I've configured PHP to run with eAccelerator. Should I also be using memcached?

Can I run eAccelerator AND memcached?

Reply


Leave a comment

Up