You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #1391: Overhaul stats: Use broadcast channel for events in HTTP Core
5f9c4d3 refactor: [#1388] change channel in HTTP core from mpsc to broadcast (Jose Celano)
64c7b21 refactor: [#1388] minor changes to HTTP core events (Jose Celano)
Pull request description:
Stats events were introduced to collect tracker metrics. We only have global metrics (aggregate metrics for all UDP and HTTP trackers).
This will change in the future. We will have:
- **Segregated metrics**: one listener per tracker (per socket).
- **Generic events**: there could be other events consumers. Events will be decoupled from stats.
This change allows multiple receivers in the channel.
For now, we one use one listener but with this change will be easy to add more.
ACKs for top commit:
josecelano:
ACK 5f9c4d3
Tree-SHA512: 9732bd79ba3515bd8aacbd7df854d8419afdf161555f96ab011278f04eb0f5c23c8a8003610e47b8adb14fe338d683b2fde142eca5ab94cd0d9afda82190249e
0 commit comments