by Floris Bruynooghe for
As writing blocking network code is often seen as more natural then the asynchronous equivalent with callbacks greenlets have become a popular approach to network programming. However greenlet based frameworks have had mixed reactions criticising the common need for monkeypatching and limitations of userland scheduling associated with greenlets.
This talk will give an insight in how the eventlet framework works and what this means for the userland scheduling. It will show how you can avoid monkeypatching, discussing the benefits and limitations. Lastly it will explain how to avoid the limitations of userland switching both in python code and when calling blocking C code.