Currently I'm building a project that handle a serial analog data from a ECG-Sensor that being to my UDP Server, they comes at 400hz rate and my server is only 2 Core, 4GB Ram.
What is the best way to handle the udp streams correctly?
Currently my solution is:
UDP stream -> UDP handler receive -> send to ecg-data channel -> ECG Handler loop through the channel for data := range ecgChan -> Process the data -> Result
Is there a better solution?