
nathannaveen.dev
September 14, 2026
5 min read
48/100
Summary
Dropping eBPF CPU Cost by About 90% With Memoization (Not AI Gen) My brother and I spent a lot of time designing our eBPF security agent to be really fast from the ground up, but recently we discovered we could make it much faster using memoization! A couple of weeks ago, I profiled the eBPF code and found that the most expensive part of the protection isn’t actually enforcing a policy (allow/deny...