I am working on a project that involves logging every time an object
is displayed, and I can have anywhere from tens to hundreds of objects
displayed per page.

So needless to say I can quickly be generating very large numbers of
queries to the database to log all of these displays.

What I am looking for is some method of write caching these logs so I
only write to the database every 'n' times the object is displayed, or
when the cache gets too old.

Has anyone done anything like this?

Maybe someone just has a better suggestion for how to log this data
with less DB queries?


Thanks,

Steve

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to