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)
Tracking
(Not tracked)
RESOLVED
FIXED
5.7
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
Comment 1•16 years ago
|
||
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?
Comment 2•16 years ago
|
||
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.
| Assignee | ||
Comment 3•16 years ago
|
||
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
Comment 4•16 years ago
|
||
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.
Comment 5•16 years ago
|
||
Thanks oremj
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•