Exploring eBPF for Network Observability

Published on June 15, 2024 · Linux Networking

Over the past few months, I have been diving deep into eBPF (Extended Berkeley Packet Filter) and its applications in modern cloud-native infrastructure. The ability to run sandboxed programs inside the Linux kernel without changing kernel source code or loading modules is genuinely transformative.

In this post, I will walk through setting up a simple eBPF program to trace TCP connection events using libbpf and BCC. We will cover map types, program types, and some common pitfalls when attaching kprobes.

Building a Minimalist Static Site Generator

Published on May 28, 2024 · Python Web

Sometimes the best tools are the ones you build yourself. After trying Jekyll, Hugo, and Eleventy, I decided to write a 200-line Python script that converts Markdown files into a static HTML site with syntax highlighting and RSS feed generation.

The key insight was that most static site generators do far more than I actually need. By stripping away themes, plugins, and asset pipelines, I ended up with something that builds in under 50 milliseconds and produces clean, semantic HTML.