Load Balancing

Cilium – eBPF-based Networking, Observability, Security

Cilium is a networking, observability, and security solution with an eBPF-based dataplane. It provides a simple flat Layer 3 network with the ability to span multiple clusters in either a native routing or overlay mode. It is L7-protocol aware and can enforce network policies on L3-L7 using an identity based security model that is decoupled from network addressing.

Cilium implements distributed load balancing for traffic between application containers and to external services and is able to fully replace components such as kube-proxy. The load balancing is implemented in eBPF using efficient hashtables allowing for almost unlimited scale.

For north-south type load balancing, Cilium’s eBPF implementation is optimized for maximum performance, can be attached to XDP (eXpress Data Path), and supports direct server return (DSR) as well as Maglev consistent hashing if the load balancing operation is not performed on the source host.

For east-west type load balancing, Cilium performs efficient service-to-backend translation right in the Linux kernel’s socket layer (e.g. at TCP connect time) such that per-packet NAT operations overhead can be avoided in lower layers.

A new Linux kernel technology called eBPF is at the foundation of Cilium. It supports dynamic insertion of eBPF bytecode into the Linux kernel at various integration points such as: network IO, application sockets, and tracepoints to implement security, networking and visibility logic. eBPF is highly efficient and flexible. To learn more about eBPF, visit eBPF.io.

This is free and open source software.

Website: cilium.io
Support: GitHub Code Repository
Developer: The Cilium Authors
License: Apache License 2.0

Cilium is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Load Balancers
TraefikModern HTTP reverse proxy and load balancer
HAProxyHigh availability layer 7 load balancer and proxy server for TCP and HTTP
CiliumeBPF-based Networking, Observability, Security
nginxIncludes a L7 load balancer
RoadRunnerHigh-performance PHP application server, load balancer, and process manager
fabioFast, modern, zero-conf load balancing HTTP(S) and TCP router
BFEModern L7 load balancer
gobetweenModern and minimalistic L4 load balancer and reverse-proxy
SeesawLinux Virtual Server (LVS) based load balancing platform. L4 load balancer
nusterHigh-performance HTTP proxy cache server and HTTP/TCP load balancer
GLB DirectorSet of stateless L4 load balancer servers
BalanceGeneric TCP proxy with round robin load balancing and failover capabilities

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments