Closed Bug 543918 Opened 16 years ago Closed 16 years ago

Why is django slow on prod?

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jbalogh, Assigned: jbalogh)

Details

(Whiteboard: [z])

<oremj> https://addons.mozilla.org/en-US/admin/models/ <oremj> pageload time is 10s for some reason
oremj: page load time can be long for me on my dev server without memcache, but the second load is nice and fast. We're sure memcache is on, right?* I also ask because preview doesn't seem slow. Is there anything else different between the two?
I configured memcache. Is there a way to test if it is working? I can get the servers via the command line and they are the same ones remora is using.
From the command line: python manage.py shell from addons.models import Addon a = Addon.objects.get(id=1865) print a.from_cache a = Addon.objects.get(id=1865) print a.from_cache
fail: I typoed a s/83/81/ in the CACHE_BACKEND, so it really wasn't working. 09:38 < clouserw> I'm writing a django equivalent to https://addons.mozilla.org/services/monitor.php That should help stuff like this in the future.
Thanks oremj
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.