High Performance Browser Networking
This book provides a hands-on overview of what every web developer needs to know about the various types of networks (WiFi, 3G/4G), transport protocols (UDP, TCP, and TLS), application protocols (HTTP/1.1, HTTP/2), and APIs available in the browser.
Tag(s): Data Communication and Networks
Publication date: 30 Sep 2013
ISBN-10: 1449344763
ISBN-13: 9781449344764
Paperback: 400 pages
Views: 11,093
Type: Book
Publisher: O’Reilly Media, Inc.
License: Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International
Post time: 12 Nov 2016 07:00:00
High Performance Browser Networking
Ilya Grigorik wrote:Our goal is to cover what every developer should know about the network: what protocols are being used and their inherent limitations, how to best optimize your applications for the underlying network, and what networking capabilities the browser offers and when to use them.
In the process, we will look at the internals of TCP, UDP, and TLS protocols, and how to optimize our applications and infrastructure for each one. Then we'll take a deep dive into how the wireless and mobile networks work under the hood--this radio thing, it's very different--and discuss its implications for how we design and architect our applications. Finally, we will dissect how the HTTP protocol works under the hood and investigate the many new and exciting networking capabilities in the browser:
- Upcoming HTTP 2.0 improvements
- New XHR features and capabilities
- Data streaming with Server-Sent Events
- Bidirectional communication with WebSocket
- Peer-to-peer video and audio communication with WebRTC
- Peer-to-peer data exchange with DataChannel
Understanding how the individual bits are delivered, and the properties of each transport and protocol in use are essential knowledge for delivering high-performance applications. After all, if our applications are blocked waiting on the network, then no amount of rendering, JavaScript, or any other form of optimization will help! Our goal is to eliminate this wait time by getting the best possible performance from the network.
About The Author(s)
Ilya Grigorik is a developer advocate and web performance engineer at Google. He spends his days and nights working on making the web faster and building and driving adoption of performance best practices. Prior to focusing on web performance Ilya was the founder and CTO of PostRank, a social analytics company which was acquired by Google and became the core of social analytics reporting within Google Analytics. Whenever not thinking web performance, or analytics, Ilya can be found contributing to open-source projects, reading, or building fun projects like VimGolf, GitHub Archive and others.
Ilya Grigorik is a developer advocate and web performance engineer at Google. He spends his days and nights working on making the web faster and building and driving adoption of performance best practices. Prior to focusing on web performance Ilya was the founder and CTO of PostRank, a social analytics company which was acquired by Google and became the core of social analytics reporting within Google Analytics. Whenever not thinking web performance, or analytics, Ilya can be found contributing to open-source projects, reading, or building fun projects like VimGolf, GitHub Archive and others.