2 ms·
In the system proposed, not really. To use TCP instead of UDP there are two big problems: 1) the sensor device would need to keep unacknowledged data in memor
by toast0 7y ago
In the system proposed, not really.
To use TCP instead of UDP there are two big problems:
1) the sensor device would need to keep unacknowledged data in memory, but it may not have enough memory for that
2) if they're running at line rate (max bandwidth in this case) in UDP, there's no bandwidth left to retransmit data
All of the buffer manipulation is going to be more CPU intensive on both sides as well, and you'd run into congestion control limiting the data rate in the early part of the capture as well.
For a system like this, while UDP doesn't guarantee reliability, careful network setup (either sensor direct to recorder, or on a dedicated network with sufficient capacity and no outside traffic) in combination with careful software setup allows for a very low probability of lost packets dispite no ability to retransmit.