I

I wrote a load balancer with XDP and Go

Hacker News

I wrote a load balancer with XDP and Go

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.

Share card

Actual performance

15points
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
83%83% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: single, using, code · Missing: mac, agents, macos
82%82% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
71%71% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
43%43% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
31%31% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
20%20% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
3%3% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Te
Terraster – Yet Another Load Balancer58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Terraster – Yet Another Load Balancer

Hacker News1
Si
Simple Load Balancer – Golang46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Simple Load Balancer – Golang

Hacker News16
Be
Better Gulp subtasks with gulp-load-subtasks61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Better Gulp subtasks with gulp-load-subtasks

Hacker News1
RP
RPC Load Balancing Made Easy24%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

RPC Load Balancing Made Easy

Hacker News3
Gl
Glycemic load calculator52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Glycemic load calculator

Hacker News68
Bu
Bubblemon, System load meter for human beings56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bubblemon, System load meter for human beings

Hacker News7
Go
Golang – Level 7 Load Balancer and Cache53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Golang – Level 7 Load Balancer and Cache

Hacker News18
A
A tiny TCP load balancer72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A tiny TCP load balancer

Hacker News22
Lo
Load Impact 3.055%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Load Impact 3.0

Hacker News3
SH
SHOW HN: Smart Global RPC Load Balancer26%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SHOW HN: Smart Global RPC Load Balancer

Hacker News1