3 ms·
That's not the dev server, which is able to start and reload pretty fast. That post is complaining about the startup time for loading several pre-forked Python
by mrj 15y ago
That's not the dev server, which is able to start and reload pretty fast. That post is complaining about the startup time for loading several pre-forked Python VMs on the first request.
That's pretty much a production problem. It's somewhat common to see "warmup" scripts that make sure all the VMs start.
The OP was talking about development time.
- deleted 15y ago[deleted]
- carbon8 15y ago"That's not the dev server, which is able to start and reload pretty fast...That post is complaining about...a production problem." The issue is actually that it takes time to load the application code and dependencies, something that applies to Django, Rails and just about any similar framework, regardless of whether it's the production or development environment. In general, the production environment will actually be faster at this. Just to clarify the context to future readers, I deleted by post because I wasn't interested in discussing django, but since you responded I'm addressing it. My original post pointed out that in my experience it indeed does take time to load django and linked to this post: http://stackoverflow.com/questions/1702562/speeding-up-the-first-page-load-in-django http://stackoverflow.com/questions/1702562/speeding-up-the-f...