[Baypiggies] Fwd: Reminder - Tonight: SF Python meet-up featuring Dev Tools for Django and Web2Py

Venkatraman S venkat83 at gmail.com
Mon Jul 18 18:02:12 CEST 2011


On Mon, Jul 18, 2011 at 9:07 PM, Grace Law <grace at lolapps.com> wrote:

> For a typical web app my experience is the bottle neck is the database and
> independent on the framework.
>

Hmm. Not exactly true; i can think of the following places which can cause
potential impact in addition to a bad database design(i.e, schema design,
lack of indexes etc):
# template rendering (for eg. django templates are far slower than that of
jinja2)
# ORM - now here there are 2 cases, either the ORM can create cranky queries
or the process of mapping can take one hell of a time. (DDT is an awsum app
when developing using django, it helps you diagnose the sql query
generated.)

(the above 2 do not consider the actual application logic that is written in
python)

There is an interesting thread going on in django-users wherein some are
trying to create a 'single' binary out of django to speeden up and reduce
the hassle of deploying. There was a mention of using pypy instead of
cpython too.

I will try to do a simple benchmark between the two(django vs web2py)
sometime this weekend and share with the group.

-V
http://blizzardzblogs.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20110718/9167a1b7/attachment.html>


More information about the Baypiggies mailing list