Welcome Guest, Not a member yet? Register   Sign In
Database Caching
#4

[eluser]adamfairholm[/eluser]
BeingDefined,

You're right, the database cache seems like its for you since you have a lot of query data coming in that changes - that can really take the load off mysql when done effectively.

My question is: what is the source of the changes for the database queries? For a blog, it would be the point where you create a new post or update an old one. If it is something that is maybe randomly taking a quote of the day or something, you could create a cron script that deletes the folder with that cache data in there.

It all depends on the type of data and the point where it changes - thinking about it that way you wouldn't need to compare the cached data and the updated query.

What kind of data are you pulling and how is it updated or changed? I (or someone else) might be able to point out an ideal solution with that data.


Messages In This Thread
Database Caching - by El Forum - 08-15-2008, 03:43 PM
Database Caching - by El Forum - 08-15-2008, 10:35 PM
Database Caching - by El Forum - 08-16-2008, 10:22 AM
Database Caching - by El Forum - 08-16-2008, 11:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB