How do you measure real network bandwidth between two servers?
IntermediateScenarioPerformance, MTU, Latency & Tools
Answer
Situation read → Use a synthetic test with controlled parameters.
What I'd do →
- Start a server:
iperf3 -s - Run the client:
iperf3 -c 10.0.1.20 -P 4 -t 30(4 parallel streams) - Add
-Rfor reverse direction and-u -b 500Mfor UDP - Compare with the instance type's baseline and burst network limits
- Test across AZs and regions separately
Why → A single TCP stream is limited by window and RTT, parallel streams reveal the pipe capacity.
Interview tip → Say cloud instance types have bandwidth caps and burst credits.
More on Performance, MTU, Latency & Tools
Latency, bandwidth and throughput: what is the difference and why does it matter?BeginnerWhen do you use ping, traceroute and mtr?BeginnerWhat is MTU and what is the usual value?BeginnerHow do you check what is listening on a port and who is connected?BeginnerHow do you measure where time goes in a slow HTTP request?BeginnerWhat does tcpdump do and what are the first filters you use?Beginner