Go Time: Golang, Software Engineering cover image

TCP & UDP

Go Time: Golang, Software Engineering

CHAPTER

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.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner