Tuesday, August 31, 2010

NonBlocking (Async) Tornado Presentation for CharPy

NonBlocking (Async) Tornado Presentation for Charlotte Python Group

There are slides and example code. I had a lot of fun making and giving this presentation. Got some good feedback and would like to give it again so I can continue to improve it and my presentation skill. Please give me feedback to improve the presentation or let me know if any other groups would be interested in it.

3 comments:

  1. Thanks for the great presentation. Tornado does look like a very nice, easy to use library for asynchronous communication. I'll be comparing it with Twisted soon as I need to learn Twisted.

    BTW, have you looked into using coroutines for asynchronous communication as an alternative or augmentation to an event-based approach? I haven't really tried it myself, but I have read about server frameworks in at least Smalltalk and Lisp that use coroutines or the lower-level building blocks continuations. It seems that PEP 342 might be useful for asynchronous communication, but I don't how much people are doing with it yet.
    ReplyDelete
  2. I am a fan of coroutines I just haven't had much time to experiment with them in Python. PEP 342 would be very useful and would be my prefered method for concurrency. The little code I have written in go (golang) I found coroutines very user friendly.
    ReplyDelete
  3. I just realized that one of the libraries you mentioned, Eventlet does use coroutines.
    ReplyDelete