Hi, I have created a stats field (PositiveIntegerField) in my objects and I want to use it for saving how many times the object has been showed to visitors but I don't want to make a database request everytime an object is viewed due to performance issues. I have seen http://code.djangoproject.com/wiki/ProfilingDjango and I think I could save a profile for each url so I could use a cron job that executes a python script every 30min that updates the objects views in the database with the information of the profiles files.
Is this the better way to do it? How have you dealt with this type of problems? Any suggestions? Thank you! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---