Contribute Media
A thank you to everyone who has made this possible: Read More

Gevent — to be or not to be?


When Python was a kid, still the second version, there was no asynchrony in it and we dealt with it as we could. Among the spin-offs of such initiatives were the greenlet package and the gevent library, based on this package. The gevent library is used in various projects to this day. My report will be about this library, what's under its hood, and what it can be useful for. I will bring architectural solutions for building asynchronous RPC based on gevent, and will talk about the problems you might encounter when using it. In the end, I'll show you how the same things can be implemented with the help of standard tools of the modern Python (the asyncio library), and will compare these approaches.


Improve this page