Why Browsers have 6 active TCP Connections for each website?

preview_player
Показать описание
In this video, we explain why browsers open 6 TCP connections to websites that only support HTTP1.1
🏭 Software Architecture Videos

💾 Database Engineering Videos

🛰 Network Engineering Videos

🏰 Load Balancing and Proxies Videos

🐘 Postgres Videos

🚢Docker

🧮 Programming Pattern Videos

🛡 Web Security Videos

🦠 HTTP Videos

🐍 Python Videos

🔆 Javascript Videos

Support me on PayPal

Become a Patreon

Stay Awesome,
Hussein
Рекомендации по теме
Комментарии
Автор

Can't stop watching your videos everyday!

gjuoun
Автор

Great video once again Hussein. I have a question:
If a web request can have 6 TCP connections at once, how is it possible that HTTP 1.1 only uses one port (port 80 or 443) to connect to a website? Why doesn't it use 6 ports?

s
Автор

As I understand browser always establish six connections, but it doesnt have to use all six eg it use only two one for style.css and one for image.jpg? What about if we have website similar to Instagram which can have 1000 of photos, this is why there is button 'LoadMore'(or some functionality to load extra images when scrolling down) to avoid to big 'queue 'in established connections?

Masterjabol
Автор

Hey Hussain, so in other video of yours..I understood like HTTP 1.1 does this by one connection using keep alive header.. so as it parse index.html other resource will use same connection..

But in this its said as 6 connection is used instead? ...

What am I missing out ? can anyone crt me in this?

immanuelirwin
Автор

a different question. what is that music at the end ? 😁

VamsiKrishna-ythi
Автор

Kifak? tamem?

Pls, fik ta3mol video 3an JWT w shu hiye afdal tari2a bi ra2yak for storing the token, localStorage aw httpOnly cookies?
W kamen eza 7ada 3amal hack lal account, kif fik ta3mol revoke access w hek eshya?

Thank you ktir 3al videos, your channel is a hidden gem ;D

Skia_
Автор

Streaming apps also usually open more than one TCP connection to download the media segments quicker and not risk video stalls etc. However this isn't ideal because it doesn't compete with bandwidth fairly - apps shouldn't be greedily opening TCP connections to benefit itself

windskm
Автор

Thanks for this video. But why not 8 or 10 connections?

MrzEPHIRUz
Автор

So actually I why there are only 6, why is this limit ? Have I missed the answer? Or this wasn't the question?

vimk
Автор

6 open tcp connections * 50 chrome tabs = all my ram is occupied :(

raphaelkuttruf