Monday, 7 March 2022

New Show Hacker News story: latest news

Show HN: I wrote a load balancer with XDP and Go
2 by d4v1dc0l3s | 0 comments on Hacker News.
Facebook's Katran looked too scary (and I don't do C++), so I thought I would investigate using XDP/eBPF to redirect packets at high speed and Go to do the control plane work of health-checking backed servers and managing configuration. With luck the resulting binary should be easy to deploy by non-developers. It's still not mature, but seems to work. Code was written in a very exploratory manner, and I'm not a developer so it is quite shocking at the moment, but I aim to improve it. It is intended to be horizontally scalable with ECMP and has been tested on service providing 40Gb/s with a single (hardware) node at ~30% CPU utilisation.

No comments:

Post a Comment