title: Memcache vs APC for a single server site data caching
body: <p>I have a single server site thats pushing 200k unqiues per day, and the traffic doubles roughly every 40 days (for the last 5 months anyway). </p>
  
  <p>I pretty much only plan to cache the output of mysql_query functions for an hour or so. If cache is older than that, run query, put result back into the cache for another hour.</p>
  
  <p>My mysql DB is about 200mb in size (grows by maybe 10-20mb/month).</p>
  
  <p>Im doing a lot of file caching by writing HTML outputs and using them for a few minutes, and then regenerating the html. </p>
  
  <p>Unfortunately, since its a database site, that allows for many sorting, searching and ordering methods, as well as pagination.... there are over 150,000 cached pages. Im also not caching the search queries, which cause most of the load. </p>
  
  <p>I'd like to implement a caching system, and I wanted to know which one is faster. Would love to see some benchmarks.</p>