Visualising Eventlet

When using eventlet you typically have a lot of concurrent things all being processed at once. Trying to identify problems in highly concurrent systems can be hard. To solve a problem we had I created eventlet visualiser (on github). This allows you to see the life span of all your eventlets in a program:

Each block can be clicked on and information is output in the console - such as stack trace and arguments to the function.

I used this to identify that a certain class of eventlet was slowly taking over the pool and preventing execution of any other eventlet. Hopefully someone else will find it useful too :)

Discussion

blog comments powered by Disqus

Colin Howe

I'm Colin. I like coding, ultimate frisbee and startups. I am VP of engineering at Conversocial