#35576: Django too slow on first request
-------------------------------------+-------------------------------------
Reporter: Sridhar | Type:
| Cleanup/optimization
Status: new | Component:
| Uncategorized
Version: 2.2 | Severity: Normal
Keywords: Django, Lambda | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
We have deployed our Django app on lambda, the first request always takes
5-6 seconds excluding lambda cold start times.
`get_app_list` and `reverse functions` take too long. The reverse function
to prepare and match uri takes O(n).
I am attaching the Cprofile results below.
--
Ticket URL: <
https://code.djangoproject.com/ticket/35576>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.