>From what I know Tornado is kinda like a webframework + server all in one package. Hence all the hacker love for it.
On Mon, Sep 14, 2009 at 7:27 PM, <[email protected]> wrote: > bret, anandi was under the impression that tornado apps like webpy needs > to be served from nginx or am i wrong? > > > On Sun, Sep 13, 2009 at 9:12 PM, mathew wong <[email protected]> wrote: > >> I for one am really looking forward to this. Not having to deal with >> Apache et al is a huge plus for me! >> >> On Mon, Sep 14, 2009 at 11:54 AM, <[email protected]> wrote: >> >>> if anand's changes are integrated by bret, does it mean that we can run >>> production webpy apps on tornado - not lose out on the user friendliness of >>> webpy and use the power of tornado 4x speedup - sounds very promising >>> >>> >>> On Sun, Sep 13, 2009 at 7:58 PM, Anand Chitipothu >>> <[email protected]>wrote: >>> >>>> >>>> 2009/9/14 Bret Taylor <[email protected]>: >>>> > >>>> > I just checked in change to Tornado that enables you to run any WSGI- >>>> > compatible framework on Tornado's HTTP server. You can find it in a >>>> > class called WSGIContainer in wsgi.py: >>>> > >>>> > http://github.com/facebook/tornado/blob/master/tornado/wsgi.py#L188 >>>> > >>>> > You will have to check out Tornado from github to get the change; it >>>> > is not yet included in the tarball distribution. >>>> > >>>> > I have tested with web.py, but I have not tested extensively, and >>>> > certainly not with extremely involved applications. If any web.py >>>> > users/devs are interested, would love for you to try it out with a >>>> > more involved web.py app and let me know what issues you find so I can >>>> > fix them. >>>> >>>> Bret, >>>> >>>> There is one issue with this implementation. web.py uses thread-local >>>> for storing request parameters. Since tornado is single-threaded, >>>> there is a chance of data corruption. >>>> >>>> I have implemented a wsgiserver for tornado and socket-local as >>>> replacement of thread-local. >>>> >>>> http://github.com/anandology/tornado/blob/master/tornado/wsgiserver.py >>>> >>>> There were some changes to ioloop to support socket-local. >>>> >>>> >>>> http://github.com/anandology/tornado/commit/927f889b7dd1129c1d1ef92ce6c8ad71af091cee >>>> >>>> I have posted this in python-tornado mailing list too. Looks like you >>>> didn't notice that. >>>> >>>> Anand >>>> >>>> >>>> >>> >>> >>> -- >>> Bidegg worlds best auction site >>> http://bidegg.com >>> >>> >>> >>> >> >> >> > > > -- > Bidegg worlds best auction site > http://bidegg.com > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
