The problem I see is that I want to save stats info about each object
in itself because that gives me versatility. So could I show info
about every object in my own django views and If I want to show for
example the most viewed user profiles or any other query ordered by
stats I could do it.


I think you could have the 2 things:
- stats tracking with googleAnalytics, Mint, ReInvigorate or anything
else wich saves info about all queries and are very useful for you
and
- middleware to store in each object the stats about it (not X rows
per object, only a field in each object with their total views) which
is useful for showing info to your users

For performance reasons I'm thinking about this possibility:
Having for example AWstats and for the middleware instead of analyzing
apache log file every X seconds (you will need to process ALL
requests) just accessing AWstats (with httplib) and getting TOTAL
requests for the URLs you want to track (you just get totals instead
of having to evaluate thousands of reg. exps. in a log file).

would that match for sites with high traffic?

thank you


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

Reply via email to