Need a compelling argument to use Django instead of Rails
Ben Sizer
kylotan at gmail.com
Mon Jul 31 10:05:27 EDT 2006
Gerhard Fiedler wrote:
> On 2006-07-29 01:07:12, Tim Roberts wrote:
>
> > Vincent Delporte <justask at acme.com> wrote:
> >>
> >>BTW, what is the advantage of running a CherryPy/Django server instead
> >>of the regular way of code in pages? Improved performance because the
> >>Python interpreter is already up and running?
> >
> > Exactly. The Python interpreter can take a significant fraction of a
> > second to start. For the typical short web request, the overhead can add
> > up.
>
> Is this start-up overhead the same thing for PHP? Or is this handled
> differently there?
Typically you run PHP as a module in your webserver, so there should be
no process startup overhead. mod_python provides the same sort of
functionality for Python, but is not as popular or widely installed as
the PHP Apache module.
--
Ben Sizer
More information about the Python-list
mailing list