Abstract
- The Stateless Network Protocol used transfer data from one Computer Network to another
- You can have a UDP Server written in NodeJS to play with
Less bandwidth usage
UDP packets are smaller than TCP packet, because it doesn’t need those overhead to implement TCP features
More performant
UDP is a Stateless Network Protocol, so we can remove TCP Handshake, and it supports horizontal scaling
Less Secure
Server has no idea about Client, anyone can communicate with server. So it is vulnerable to attacks like DDoS
On the another hand, TCP can filter data it receives by examining the identity of client like IP Address
Potential pain points
- No Acknowledgment
- No Guaranteed Delivery
- Connectionless
- No Ordered Packets
- No Congestion Control