I believe I'm having issues with django connections.  I'm using EC2
with a remote mysql database and make about 6 queries per page.  There
is some latency due to the distance of the remote server.  Each query
takes about .038s to complete.

Pages take about 2 seconds to load however.  The person running my
database says that django could be dropping my connection, which means
each query actually takes longer than it reports?  Has anyone run into
this?  How could I verify that this is true or false?

Additionally, I wrote a custom query manager for one of my queries.
It opens its own django.db.connection.cursor() each time it is
called.  Is this bad practice?  Would this be using up my connection
queue?

Thanks

Dave Fowler
--~--~---------~--~----~------------~-------~--~----~
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