Memcaching Plan of Attack

Leon Brocard acme at astray.com
Thu Apr 10 18:38:36 BST 2008


On 10/04/2008, Jason Tang <jason at dragor.net> wrote:

>  So add abit of code to check if it exists in memcached if not hit db,
>  and save it into memcached. Now am I going to have to find all refernces
>  to those tables adn get them to expire that memcached entry?

I highly recommend not expiring data, it's way too much pain. Instead
only cache data that you don't mind being out of date. For more:

  http://www.slideshare.net/acme/scaling-with-memcached

Leon


More information about the london.pm mailing list