Understanding transport-layer protocol choices in network applications
This is an easy foundational question that tests your knowledge of how common network protocols map to their underlying transport layers. It appears frequently in systems and networking interviews because the choice between UDP and TCP—or other transport protocols—shapes reliability, latency, and ordering guarantees in real systems.
To answer questions in this area, you need to understand the core trade-offs: UDP offers low latency and minimal overhead but provides no delivery guarantees or ordering; TCP ensures reliable, ordered delivery at the cost of higher latency and overhead. Different application-layer protocols make different choices based on their requirements. Some protocols are strictly bound to TCP, while others may use UDP, TCP, or even other transport mechanisms depending on the implementation or deployment context.
- TCP vs. UDP trade-offs and their design implications
- Common application protocols and their transport dependencies
- Why reliability guarantees matter for certain applications