Skip to content

morel-source/Telemetry.UdpSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UDP Telemetry System

A lightweight, high-performance monitoring solution built with .NET 10 using UDP for minimal latency.


Architecture

  • Telemetry.Core: Shared TelemetryMessage.
  • Telemetry.Agent: Background service that pushes data every 5 seconds.
  • Telemetry.Server: Asynchronous listener that processes incoming data packets.

Key Features

  • Performance: Uses JsonSerializer.SerializeToUtf8Bytes to eliminate string allocations and reduce GC pressure.
  • Non-Blocking: The server uses Task.Run to offload packet processing, keeping the receiver loop ready for high traffic.
  • Efficiency: UDP "fire and forget" logic ensures the agent doesn't slow down the main app if the network is busy.

ExecutionStart

  1. Server: Listens on port 6000.
  2. Start Agent: Broadcasts simulated CPU/RAM data.
  3. View Results: Real-time stats appear in the server console.

Releases

No releases published

Packages

 
 
 

Contributors

Languages