A 14kb page can load much faster than a 15kb page
1–10 of 356 posts
Re: A 14kb page can load much faster than a 15kb page
#2Of course big names that run CDNs have fancy custom stuff that directly puts data into mmaped regions for the network card to use, but generally, it's the OS handling TCP connections, and this means that the web server, a user space process, only interacts with the TCP connection through a streaming API. It can't issue individual TCP packets or ACK packets or anything. Raw socket access requires superuser privileges in unix.
Outside of that it's a great article. Didn't know about this particular trick :).
Re: A 14kb page can load much faster than a 15kb page
#3Re: A 14kb page can load much faster than a 15kb page
#4> Most web servers TCP slow start algorithm starts by sending 10 TCP packets. Of course big names that run CDNs have fancy custom stuff that directly puts data into mmaped regions for the network card to use, but generally, it's the OS handling TCP connections, and this means that the web server, a user space process, only interacts with the TCP connection through a streaming API. It can't issue individual TCP packet…
Re: A 14kb page can load much faster than a 15kb page
#5> Most web servers TCP slow start algorithm starts by sending 10 TCP packets. Of course big names that run CDNs have fancy custom stuff that directly puts data into mmaped regions for the network card to use, but generally, it's the OS handling TCP connections, and this means that the web server, a user space process, only interacts with the TCP connection through a streaming API. It can't issue individual TCP packet…
Re: A 14kb page can load much faster than a 15kb page
#6Re: A 14kb page can load much faster than a 15kb page
#7Re: A 14kb page can load much faster than a 15kb page
#8Is the dev.to version of this article under 14k I wonder?
Re: A 14kb page can load much faster than a 15kb page
#9Is the dev.to version of this article under 14k I wonder?