An app fires StatsD datagrams at a port with no listener and Grafana shows the request rate anyway. We replaced prometheus/statsd_exporter with 165 lines of eBPF and a JavaScript decoder on yeet: the kernel reads the…
15 comments
Naively the thing this is replacing sounds like a much better solution than the replacement is.
I suppose this article could be salvaged if it ended with something like “We get that this is an incredibly dumb idea, we’re just doing it for the lols. Please, nobody attempt something like this seriously, or in any production system. For educational purposes only.” But there isn’t any of that there.
Just wow.
Though weirdly there's a part in the middle " 8125 is contentionally what statsd used" which should obviously have used "conventionally", so who knows which parts were written and which prompted for.
I'm reaching a point now where I'd really just rather see the prompts than these kinds of posts.
On the mark.
What in the slop is this?
this is insane! Why on earth would one to replace a short, simple, highly debugable program with this crazy combination. Why would you trade a simple socket(2) call which shows up in ss, netstat, strace etc.. with something that opaque? Especially given the bandwidth is minuscule and the destination is already localhost.
Your past experience limits your thinking, especially in agentic environments.
But I suppose their whole business model is built upon that, given that yeet is a bun/node/deno library with bpf support.
we embed V8 directly and just point it at bpf
Read the full thread on Hacker News →
Related stories
- Hacker News · 1 points · 2 months ago
- Hacker News · 377 points · 2 months ago
- Hacker News · 4 points · about 2 months ago
- Show HN: Chow, a FOSS food diarychow.fitHacker News · 1 points · about 2 months ago
- Hacker News · 1 points · about 2 months ago
- Show HN: StoreReady, which AI app builders clear App Store reviewstoreready.thecompound.techHacker News · 2 points · 2 months ago