DISQUS

Dustin at Github: Tornado on Twisted

  • Michal Pasternak · 3 months ago
    AWESOME! I posted a comment on Glyf's blog, that the web parts of Tornado are cool and they should be ported and here you are ! Thanks!
  • Glyph · 3 months ago
    Very nice! I hope your work is integrated into the mainline soon.
  • dustin · 3 months ago
    I'm pretty sure it can't go back upstream. I've removed lots of their core. :) Applications they've written that deeply use their framework probably won't work.

    Ideally, I'd just take the web framework part, write at least one test for it, and move it towards twisted. At the very least, we can get some twisted apps using it.
  • Gregg Lind · 3 months ago
    This is a fantastic project! I reference your project positively in http://writeonly.wordpress.com/2009/09/12/when-...
  • Name · 3 months ago
    Can you please post what font you are using; the one in the screen shot?
  • dustin · 3 months ago
    It's a 10pt monaco.
  • AlvinWang · 3 months ago
    Do you have a benchmark? Curious what the performance is compared to raw Tornado.
  • dustin · 3 months ago
    I don't have a benchmark. I expect it to be ballpark, but not as good as it could be. I introduced some overhead to maintain API compatibility -- that is, if it had been built on twisted, a few things would have been a bit more simple and just kind of run.

    I expect it to perform better on systems that aren't Linux, but between Tornado's optimizations for Linux and the aforementioned API compatibility wrappers, it's going to be slightly slower.

    That said, when you start needing to access a ton of external resources (xmpp, http as a client, databases, memcached, etc...) and you get to use all of twisted's async interfaces to these things, it should maintain consistent performance much better.
  • Michal Pasternak · 3 months ago
    Hurricane -- COMET framework for Tornado ( http://github.com/ericflo/hurricane ). Is it going to be a rewrite of Divmod Nevow's Athena? :-)
  • rick · 3 months ago
    YO TORNADO I KNOW YOU JUST GOT RELEASED AND ALL AND IMMA LET U FINISH... BUT TWISTED WAS THE BEST EVENT DRIVEN NETWORKING ENGINE OF ALL TIME
  • djle · 3 months ago
    excellent job , but what the need of epoll.c now that it is under twisted
  • dustin · 2 months ago
    That's true, it's not needed. I still have stuff to remove.

    Someone else has picked up some work on this and may help me move it further forward.
  • djle · 2 months ago
    as understand this will be a new branch from tornado-web
    wich name you will give for it twisted-tornado or dustin-tornado or some thing new ...
    I thing it would a good Idea to create a new resource site for this project
    or you prefere to link to original tornado-web site
    twisted-matrix deserve such a light framework.
  • djle · 2 months ago
    if any help needed, can count on me
  • Guest · 2 months ago
    excellent job , but what the need of epoll.c now that it is under twisted
  • djle · 2 months ago
    it seems that the async community is dynamic
    look at http://glyph.twistedmatrix.com/2009/09/diesel-c...
    and
    http://dieselweb.org