eBPF & Cilium for Platform Engineers

eBPF Maps: Sharing State

An eBPF program runs on an event and then it's gone. So how does it remember anything, or communicate with user space? eBPF maps are the shared data structures that make stateful eBPF possible.


The Concept Explained

Coming soon.


How It Works

Coming soon.


Practical Application

Coming soon.


Tradeoffs and Decision Framework

Coming soon.


Common Mistakes

Coming soon.


INTERVIEW QUESTION

eBPF programs are event-triggered and stateless on their own. How do eBPF maps let them maintain state and communicate with user space? Give an example use.