Tech
Why Your Browser Can't Use Multicast (And What Would Have to Change)
How Web Browsing Works Today
Browser ----HTTP/HTTPS----> Web Server
(Unicast)
Every browser opens its own dedicated TCP connection to the server. If a million people load the same page, the server handles a million separate connections and sends a million separate responses.
What Would Need to Change
1. Replace TCP with UDP
HTTP/1.1 and HTTP/2 both run over TCP, which requires:
A per-client connection
Acknowledgments (ACKs)
Retr...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to