2. Harun R Rayhan
- Learning AWS and cloud in general
- Laravel Artisan
- Javascript & PHP enthusiast
- Fan of serveless technologies
Follow me @HarunRRayhan
Software Engineer @ TrinaxMind SG Pte Ltd.
12. TCP vs UDP
Connection Based Connection less
Slower Faster
20 Bytes 8 Bytes
Acknowledgement No Acknowledgement
Stateful Stateless
Ordered Delivery No order guarantee
Reliable Lossy
Error Free Check for error but no reporting
Handshake No handshake
Point to Point Multicast supported
19. ● Bi-directional data transfer
● Fast
● Low bandwidth
● Detect connection and disconnection
● Stateful
Pros and Cons
● Uses TCP
● Hard to scale horizontally because of state
● Point to point