The only way you do not run web2py as a daemon is by running it as a
CGI.  All other method provide a long running process and since most
of them are disassociated from a controlling terminal so you can call
them "daemons".
In the case of apache + wsgi the daemon is apache itself that loads a
python interpreter in a modular fashion.
A long running process has the advantage of not incurring on the
penalty of starting the python interpreter and importing a lot of
modules at each request.  It can have other drawbacks such as memory
consumption or corruption due to bugs.

mic


2012/6/12 Bruce Wade <bruce.w...@gmail.com>:
> Hi,
>
> What are the advantages and disadvantages of running web2py as Linux daemon?
> How would you scale this solution? Does this change how requests load models
> on every request? Would this make running the application much faster
> because web2py would always be running?
>
>
> --
> --
> Regards,
> Bruce Wade
> http://ca.linkedin.com/in/brucelwade
> http://www.wadecybertech.com
> http://www.fittraineronline.com - Fitness Personal Trainers Online
> http://www.warplydesigned.com
>

Reply via email to