Significant CPU Usage Improvements in New Version of libhoney.py

Significant CPU Usage Improvements in New Version of libhoney.py

 

We’ve published version 1.2.0 of libhoney-py, which now batches events. Based on our internal testing, this results in 8-10x more efficiency, so you probably want to give this a try if you’re sending us Python events.

We’re extra-grateful to our pals at Nylas for inspiring us to prioritize this improvement by showing us (with their glorious flame graphs) exactly what we were subjecting them to. Before they started using the new version:

spiky cpu flame graph

And after, confirming our 10x improvement estimate:

10x lower cpu usage flame graph

You can find the docs, API reference, and source code for libhoney.py here:

Documentation: https://honeycomb.io/docs/connect/python/

API reference: https://honeycombio.github.io/libhoney-py/

Source code: https://github.com/honeycombio/libhoney-py

Special thanks to Russell Cohen and Karim Hamidou from Nylas for being such great advocates and sharing their experience with us!

bees love