High Performance Browser Networking by Ilya Grigorik

High Performance Browser Networking pdf

Download 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 (XHR, WebSocket, WebRTC, and more) to deliver the best – fast, reliable, and resilient – user experience.

How prepared are you when it comes to building network-enabled applications? This book provides what every web developer should know about the network – from fundamental limitations that affect performance to major innovations for building even more powerful browser apps. By understanding what the browser can and cannot do, you’ll be able to make better design decisions and deliver faster web applications to your users.

Author Ilya Grigorik – a developer advocate and web performance engineer at Google – starts with the building blocks of TCP and UDP, and then dives into newer technologies such as HTTP 2.0, WebSockets, and WebRTC. This book explains the benefits of these technologies and helps you determine which ones to use for your next application.

From the Author – High Performance Browser Networking

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 Authors

  • 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.
Share this: