Home > programming > Memcached Equals Time Saver

Memcached Equals Time Saver

Memcached is a wonderful tool to offload database calls by storing the needed information in cache. One trick I’ve been using to increase productivity is that whenever I know I will be using complex or long running queries, I use a local instance of Memcached to cache the initial database calls. As I debug the output or tweak the logic, the average runtime of the script stays almost constant because the bulk of the processing, database calls, has been cached.

programming , , , , , , , , , , ,

  1. Dee Simmons
    May 16th, 2008 at 11:29 | #1

    This sounds interesting. Can you give a (psuedo)code example of this?

  1. No trackbacks yet.