Need a compelling argument to use Django instead of Rails

Tim Roberts timr at probo.com
Sat Jul 29 00:07:12 EDT 2006


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.

On the other hand, unless you're handling dozens of requests per minute,
users are unlikely to notice.

You can also keep session state in memory instead of spilling to disk, and
you can keep database sessions open.
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list