inlet/flow: use counter to load-balance incoming UDP flows with eBPF

The counter is per-CPU and it should be more performant than using a
random number. The test may be flaky if the test process migrate from
one CPU to another. Let's see how it goes.
This commit is contained in:
Vincent Bernat
2025-10-28 08:18:14 +01:00
parent 1fdf0c3f9f
commit 90a46761af
5 changed files with 46 additions and 19 deletions

View File

@@ -12,9 +12,14 @@ identified with a specific icon:
## Unreleased
This release brings a performance improvement on Linux by using per-packet
load-balancing for incoming flows using eBPF. Previously, exporters may be tied
to one worker, triggering packet loss.
- 🩹 *inlet*: fix `akvorado_inlet_flow_input_udp_in_dropped_packets_total` metric
- 🩹 *console*: fix completion tooltip being wrapped with Firefox
- 💥 *config*: stop shipping demo exporter configurations from the orchestrator
- 🌱 *inlet*: load-balance incoming UDP packets to all workers using eBPF on Linux
- 🌱 *outlet*: be more aggressive when increasing the number of workers
- 🌱 *outlet*: cap the number of workers to the number of Kafka partitions
- 🌱 *console*: add `auth``logout-url` and `auth``avatar-url` to configure