Linux Format

Observability of the kernel and containers

OUR EXPERT

Mihalis Tsoukalos is currently working on Time Series. You can reach him at: @mactsouk.

For our final delve into eBPF, we’re tackling applications, the kernel and Docker containers. At the end of the day, all Linux machines execute code for applications or services, and we want to be able to understand why our programs are running slowly or misbehaving. Although the issue is usually with the app itself, there are times when the Linux kernel is misconfigured or is running slowly due to system limitations (memory, hard disk, network and so on). Additionally, many apps are now executed as Docker containers. So, in this last tutorial of the eBPF series we’re here to get you started with observability at the app, kernel or container level. While reading, please bear in mind that everything you have learned so far about eBPF in this series can be used for application, kernel and container observability.

Observability strategy

When you need to perform application observability, there is no single tool or technique that is going to solve all your performance issues. The key, and the difficulty, to application observability is not knowing all the available tools but choosing the appropriate ones. This section presents a generic strategy for dealing with app observability. The proposed steps are:

1. Ensure you understand the way the desired application operates, whether it accepts network connections or not, and if it performs lots of file I/O, and so on. This is going to help you select the appropriate eBPF tools for the job.

Get a

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format1 min read
Vector Vexations
Why does MySQL not support vectors in its community edition? Generative AI is the hot topic in tech. GenAI relies on vector data. Yet Oracle has no plans to support vectors in the community edition of MySQL. If you want to try out vector data with ot
Linux Format5 min read
Tips For Managing Docker Containers
Everyone knows how containers revolutionised application building and deployment. Using a E disposable stack of containers that make up an app that aren’t using the docker-compose command to manage the stack are missing a trick. It allows the shippin
Linux Format1 min read
Wine For Wayland
2023 was a great year for the Wayland driver for Wine. The goal was to move forward from the experimental phase and make the driver a proper upstream component. A year later, after several merge requests, many people are now already able to use the l

Related Books & Audiobooks