On Dec 10, 1:55 pm, Iceberg <iceb...@21cn.com> wrote:
> I am still using python 2.5.4, the favorite one for web2py. And just
> notice that Python 2.7 is released, although still in alpha 
> phase.http://www.python.org/download/releases/2.7/
>
> Other new features are not very necessary, but the statement "A much
> faster io module" catches my attention. Will it boost web2py (as well
> as all other python web frameworks) 's performance?

If you are looking at it from the perspective of communications with
the client, then the answer is probably no. This is because the io
module isn't used in raw socket interfaces which is what web servers
deal with for traffic. In some hosting mechanisms such as Apache/
mod_wsgi, the WSGI application sits directly on top of custom
interfaces into Apache C internal APIs and doesn't even talk to a
socket.

Where it may come into play is file base operations done on a per
request basis. For general Python code modules it is all cached in
memory so doesn't apply there. If you have HTML page templates, or
request handler code, then reading of them is affected, but if they
are cached in memory, again will not make any difference.

So, what is left is any custom use of files by your own code on a per
request basis. Since cant know what your specific application does,
then can't comment.

Overall I wouldn't expect to see any significant difference in an
existing well designed web framework.

Graham

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to