Harnessing eBPF with Python: Next-Level Observability and Security

Ashish Tiwari (~ashish187)




Join the talk for an in-depth exploration of eBPF (Extended Berkeley Packet Filter), a cutting-edge technology revolutionizing observability and security. This session will demonstrate how to leverage eBPF with Python to create powerful, efficient monitoring solutions.

We’ll begin by demystifying eBPF, explaining its origins in networking and its evolution into a versatile tool for monitoring and securing modern platforms. Through practical examples, we’ll showcase the BPF Compiler Collection (BCC) and how it simplifies the integration of eBPF programs into Python scripts. Attendees will learn how to write BPF programs, use dynamic tracing with kprobes, and handle kernel-level data aggregation to reduce overhead and enhance performance.

Our discussion will highlight the advantages of eBPF over traditional Application Performance Monitoring (APM), focusing on its non-intrusive data collection and minimal performance impact. We’ll also address current limitations and future directions, including the potential for integrating machine learning models to provide real-time insights and faster problem detection.

Whether you’re a seasoned developer or new to eBPF, this talk will equip you with the knowledge and tools to enhance your observability and security practices using Python. Don't miss this opportunity to unlock the full potential of eBPF for your projects.


  • Having knowledge of Python
  • Kernel knowledge will be helpful

Content URLs:


Speaker Info:

Ashish started his career in the email and software industry, working as a software engineer. He has a strong interest in technology and now serves as a DevRel Engineer at Elastic. In this role, he is committed to providing the community with innovative solutions using the Elastic stack. Ashish is also a former co-founder of a startup, where he acquired a wide range of skills in tech, marketing, and community engagement. His enthusiasm is especially strong in the areas of coding and technology experimentation. Recently, he has delved into exploring Generative AI.

Speaker Links:


Section: Core Python
Type: Talk
Target Audience: Intermediate
Last Updated: