4min chapter

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

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode