Go Time: Golang, Software Engineering cover image

TCP & UDP

Go Time: Golang, Software Engineering

00:00

The Head of Line Blocking Problem

If you have multiple files that you're trying to load at the same time, if one of those files is like taking a long time to process or whatever inside the HTTP application code, it will block anything else coming through. With UDP, since there is no inherent ordering of those packets themselves, if you get that smaller packet earlier, you can just go and process it. You don't have to read everything in the order that the initiator sent it. That's the head of line blocking problem that usually people run into on shaky networks.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app