Hello,
We are implementing a web service that is hosted in Dreamhost VS, uses Apache with FCGID running a Django application.
Our key issue is that the initialization of our application is extreamly long (10 sec) to enable very fast responces.
We would like to be able to have a process running waiting for users at all times in a post-initialization stage (in memory).
Initialization of our application is achieved when the root Django init.py is executed (the one that is in the same folder with Django's setting.py).
The problem is that when apache starts an fcgi process it does not run the application init untill the 1st request comes in, which is too late, as now the 1st user needs to wait for the initialization time.
Is there any way to do this? Will moving from fcgi to mod_python be of help?
Thanks!