13–15 Nov 2023
America/New_York timezone

Container Networking: The Play of BPF and Network NS with different Virtual Devices

15 Nov 2023, 15:00
30m
"James River Salon C" (Omni Richmond Hotel)

"James River Salon C"

Omni Richmond Hotel

225
eBPF & Networking Track eBPF & Networking

Speakers

Martin Lau (Meta) Takshak Chahande (Meta)

Description

In the container-centric ecosystem, achieving efficient network isolation without compromising on performance has become paramount. Not all containers require the stringent network isolation akin to VMs. Many can benefit from a more flexible approach, like using eBPF hooks, to mark and manage network traffic with QOS. This presentation delves into the application of cgroup-bpf based hooks (bind/connect/sendmsg) in crafting lightweight network isolation solutions.

Yet, there exist cases where the above cgroup-bpf solution falls short. Here, we'll explore the indispensable role of network namespaces in ensuring robust network isolation, separating container traffic from the host network. But with stringent isolation, come challenges. Latency-sensitive applications can experience performance bottlenecks in this setup.

To address these challenges, we have investigated various techniques such as veth, netkit, IPVLAN, and SR-IOV. Each has its merits and drawbacks in terms of performance, usability, configuration complexities, and kernel support requirements. Join us as we decode the intricacies of network isolation in a containerized world, offering insights for both novice and seasoned developers.

Primary authors

Presentation materials

Diamond Sponsors

Platinum Sponsor
Gold Sponsors




Silver Sponsors



Catchbox Sponsor
Livestream Sponsors

T-Shirt Sponsor
Conference Services Provided by