udp: improve statistics structs

- Now, workers don't need to keep track of which atomic usize
  to update
- Additionally, prometheus now gets separate information per
  socket worker
This commit is contained in:
Joakim Frostegård 2024-02-02 13:37:43 +01:00
parent e2e525b560
commit 405bbaca93
12 changed files with 400 additions and 294 deletions

1
Cargo.lock generated
View file

@ -300,6 +300,7 @@ dependencies = [
"compact_str",
"constant_time_eq",
"crossbeam-channel",
"crossbeam-utils",
"getrandom",
"hashbrown 0.14.3",
"hdrhistogram",