News for hackers. Stuff that matters.
Re:Scale-to-Zero: Wake VMs in 200ms with Light Sleep, eBPF, ... by newaccount091 on Tuesday September 02, 2025 @05:21PM (#45109217)
> Alongside the eBPF program, we run a lightweight daemon — scaletozero-agent — that monitors those counters. If no new packets show up for a set period, it initiates the sleep process.

> No polling. No heuristics. Just fast, kernel-level idle detection.

Isn't the `scaletozero-agent` daemon effectively polling eBPF map counters...?

Re:Scale-to-Zero: Wake VMs in 200ms with Light Sleep, eBPF, ... by markrwilliams on Tuesday September 02, 2025 @05:46PM (#45109521)
Nope! There are evented eBPF map types that userspace processes can watch with epoll(2), e.g. https://docs.ebpf.io/linux/map-type/BPF_MAP_TYPE_RINGBUF/#ep...