Vincent Delporte <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED]
  Providenza & Boekelheide, Inc.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to