Sessions at EuroPython 2011 about eventlet and Python with video

Your current filters are…

Clear

Monday 20th June 2011

  • Emulating Stackless and greenlet with each other

    by Péter Szabó

    Stackless Python and the greenlet package for CPython are two different implementations of coroutine support for Python. (Coroutines are fundamental building blocks of I/O frameworks like gevent, Eventlet, Concurrence and Syncless to conveniently handle thousands of socket connections at a time without creating threads.) Stackless and greenlet implement a different interface. However, each is powerful enough so that it can be used to emulate the other one. In this talk we explore the differences and discuss design decisions and testing strategies of the emulations we have implemented.

    At 2:30pm to 3:30pm, Monday 20th June

    Coverage video

  • Building a hosting platform with Python

    by Andrew Godwin

    At ep.io we built a Python hosting platform from the ground up, designed to run large numbers of web applications on a small number of physical machines both securely and in a reasonably scalable way. This talk will show you how we built our infrastructure - using Redis, eventlet, PostgreSQL and more - and what lessons we learnt from our first few thousand deploys.

    See how we split services into multiple processes and greenthreads; the pains of building a cooperatively-multitasking PTY module; how Redis isn't the answer to everything, but is still very useful; how to persuade third-party software to work securely in a shared environment; and how important it is to have good logging, especially when you have more than five servers.

    At 3:30pm to 4:30pm, Monday 20th June

    Coverage video