Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PyCon Ireland 2013: Asynchronous Event-driven A...

PyCon Ireland 2013: Asynchronous Event-driven Architecture - The Twisted Way

(via http://python.ie/pycon/2013/talks/asynchronous_event_driven_architecture___the_twisted_way/)
Speaker: Ashwini Oruganti (http://twitter.com/_ashfall_)

This talk is aimed at explaining the event-driven architecture and asynchronous model, the reactor-pattern, and the basic concepts that make understanding and writing Twisted programs easier, and less abstruse and esoteric.

Picking up clues from the numerous attempts in the past[1] to demystify the popular beliefs about the occult nature of Twisted, the talk is designed to help you acquire the “mental model” required to write and comprehend asynchronous code. We will start by developing a basic understanding of the synchronous, threaded, and asynchronous models, then move on to comparing and contrasting the former two with the latter.

Further, we will try and understand the philosophy and motivation behind the asynchronous event-driven model, and discuss the Twisted reactor and event-loop architecture. Finally, we'll try to contemplate and demystify “The Twisted Way"" of doing things bolstered by excerpts from Tao Te Ching and The Tao of Programming.

[1] http://glyph.twistedmatrix.com/2012/12/the-twisted-way.html

PyCon Ireland

October 13, 2013
Tweet

More Decks by PyCon Ireland

Other Decks in Technology

Transcript

  1. “Twisted softens your brains and makes you feel like your

    head is actually a blender optimized for gray gloop.”
  2. “It was created by a couple of dudes who dropped

    out of school, and a 16-year-old. HOW HARD COULD IT BE?”
  3. When you look for it, there is nothing to see.

    When you listen for it, there is nothing to hear. When you use it, it is inexhaustible.
  4. “The Master does his job and then stops. He understands

    that the universe is forever out of control.”