Memcached Database Use

Chris Miller cmiller at servermotion.com
Fri Jun 22 20:56:56 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi:

I am new to memcached and I have a question about its use before I  
implement it. I have a high traffic website written in PHP that is  
currently using MySQL on the backend with query cache. The cache  
really isn't working too well because the site is starting to have a  
massive number of updates that invalidate the cache.

My question is simple: How can memcached help me?

I see how that by storing database results in memcached would be very  
helpful, but how does memcached know when the result set in cache has  
changed?

In other words, if I go out to the cache and pull down a result set  
how do I know if it's an accurate representation of the data?

Thanks,

Chris Miller
ServerMotion
www.servermotion.com



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFGfDeaxBwlCB7CRwsRAoltAJ4101vfKrn9G+4anuShOVXudrwyCgCfTjLJ
gqijnWijxL8zcftugQcpQpE=
=HIgG
-----END PGP SIGNATURE-----


More information about the memcached mailing list