View Single Post
  #88 (permalink)  
Old 08-27-2007, 05:01 AM
venkatbi venkatbi is offline
D-Web Programmer
 
Join Date: Jul 2007
Posts: 80
venkatbi is on a distinguished road
Default Re: Website Performance Tips & Tricks

Using Memcache

There are lots of ways to scale a web application, from throwing hardware at it, to optimizing database queries. I’ve been hearing a lot, however, about a software program called Memcached.

When to use Memcached

Memcached is great for dynamic database driven websites that retrieve data again and again from a database. Reading the same data over and over again from the database is a waste when you can store it in memory and use it from there. Even if the data gets updated fairly often, storing a cached version in memory for only 10 seconds can be highly effective if you get several pageviews during that period of time. And unless someone is saving data (at which point you’d automatically update the cache), nobody is going to notice that the data is 10 seconds delayed.

thanks,
venkatbi
Reply With Quote