Guest Will L.
May 25, 2007 in Feedback
Caching of ALL logs will lower resources and free up space on people's servers
Huh - how would you cache logs? o.O Cache is meant to be used to store commonly accessed/requested data. Logs are not commonly accessed (as in, retrieved) data.Our spider logs yesterday, before we pruned them, were over 1 GB in size. Could you imagine trying to "cache" 1 GB of data.I'm not even sure what kind of cache you are referring to. memcache/alternative cache? If so, we couldn't feasibly store that much data in memcache, and it wouldn't help a single thing. A shutdown insert query to store a spider log isn't going to affect your site's speed in any way. And at most you might have 2-3 log insertions on a given page load, not 7. You aren't going to have a moderator log and an email log on the same page (it's just not possible with the code flow), nor will you ever have any of those with an admin log (other than possibly an email error log if an email was supposed to be sent, however even then an error is generally returned and the admin log wouldn't be inserted).All said and done, storing this data in an alternative cache wouldn't help speed in any way, and would very likely cause problems and corrupted logs.
o well I got it done no problems unless I am stupid and know nothingbut how can you saay caching 1GB it would not cache it like that if you set it up the way I think should be done it would cache it each visit per day likeMSN BOT.THEDATEit would never cache all at once it would cache per visit per bot per dayso saying 1GB is true but not caching the entire 1GB at 1 time it be over timein essence all I am doing is storing raw logs into a cached php file for later grabbing similar to how you cache the errors into a .cgi file
If you cache it into PHP files, you aren't saving any space. You are just moving it from the database to your disk storage space.
o well I got it done no problems unless I am stupid and know nothing
but how can you saay caching 1GB it would not cache it like that if you set it up the way I think should be done it would cache it each visit per day like
it would never cache all at once it would cache per visit per bot per day
so saying 1GB is true but not caching the entire 1GB at 1 time it be over time
This topic is now archived and is closed to further replies.
Started Tuesday at 01:15 AM
Started 16 hours ago
Started 4 hours ago