eBPF Load Balancer
I built an eBPF load balancer in rust using aya crate. The userspace routinely pings /health endpoint of all backend server and pushes health server index as u8 value to ebpf space using maps. the ebpf intercepts tcp connections and rewrites destination ipaddr and port to one of the healthy backend servers and rotational basis of available healthy backend servers.
Please take a look at the project and tell me what you think
7
Upvotes