Skip to main content

Using Elastic APM to visualize asyncio behavior

A few weeks ago, Chris Wellon­s’ blog “La­ten­cy in Asyn­chro­nous Python” was shared on our in­ter­nal #python chan­nel at Elas­tic, and as some­one look­ing in­to the per­for­mance char­ac­ter­is­tics of a re­cent asyn­cio-re­lat­ed change, I gave it a read and you should too. It was a time­ly post as it made me think ahead about a few things, and co­in­cid­ed nice­ly with our re­cent us­age of Elas­tic’s Ap­pli­ca­tion Per­for­mance Mon­i­tor­ing so­lu­tion.

Read more (8 min)…

Use glom

Dictionaries are really cool. They’re very powerful and a large part of Python: so much stuff is built on the dict type. They’re generally quite easy to work with, but what about when you have nested dictionaries that contain lists that contain dictionaries that contain certain keys only in some cases and sometimes there’s another list involved?

Use glom.

Read more (7 min)…