High Performance Browser Networking
What every web developer should know about networking and web performance
Publisher: O'Reilly Media
Final Release Date: September 2013
Pages: 408

How prepared are you to build fast and efficient web applications? This eloquent 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 applications—including HTTP 2.0 and XHR improvements, Server-Sent Events (SSE), WebSocket, and WebRTC.

Author Ilya Grigorik, a web performance engineer at Google, demonstrates performance optimization best practices for TCP, UDP, and TLS protocols, and explains unique wireless and mobile network optimization requirements. You’ll then dive into performance characteristics of technologies such as HTTP 2.0, client-side network scripting with XHR, real-time streaming with SSE and WebSocket, and P2P communication with WebRTC.

  • Deliver superlative TCP, UDP, and TLS performance
  • Speed up network performance over 3G/4G mobile networks
  • Develop fast and energy-efficient mobile applications
  • Address bottlenecks in HTTP 1.x and other browser protocols
  • Plan for and deliver the best HTTP 2.0 performance
  • Enable efficient real-time streaming in the browser
  • Create efficient peer-to-peer videoconferencing and low-latency applications with real-time WebRTC transports
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyHigh Performance Browser Networking
 
5.0

(based on 5 reviews)

Ratings Distribution

  • 5 Stars

     

    (5)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Accurate (5)
  • Easy to understand (4)
  • Well-written (4)

Cons

    Best Uses

    • Novice (5)
    • Intermediate (4)
    • Student (4)
      • Reviewer Profile:
      • Sys admin (3)

    Reviewed by 5 customers

    Sort by

    Displaying reviews 1-5

    Back to top

    (1 of 1 customers found this review helpful)

     
    5.0

    Browser APIs 0 A Real World Discussion

    By Al

    from Norwalk CT

    About Me Maker, Sys Admin, Tech Enthusiast

    Verified Reviewer

    Pros

    • Accurate
    • Concise
    • Helpful examples
    • The Good News Is
    • Well-written

    Cons

    • Difficult to understand
    • The Bad News Is

    Best Uses

    • Intermediate
    • Novice
    • Student

    Comments about oreilly High Performance Browser Networking:

    Review of "High Performance Browser Networking" By Ilya Grigorik
    Reviewed by Alfredzo Nash
    Fairfield County Area Datto Linux User Group.

    High Performance Browser Networking (HPBN) was shared with me by a fellow System Engineer. Considering my generalist understanding of Networking (self-proclaimed "Network Guy") and Browser APIs, I immensely enjoyed High Performance Browser Networking (HPBN) by Ilya Grigorik. HPBN was full of delectable informations on the history of TCP/IP, UDP, TLS, WIFI, cellular networking technologies and the various browser- and server- based APIs (SSE, WebRTC, XMLHttpRequest) that govern the intricate Internet infrastructure we know today.
    Grigorik provides an extraordinary roadmap through the harsh "network weather"
    that can be encountered at various levels of the OSI Model. He meticulously revisits the history of deployed network technologies while recommending proper optimization procedures throughout each chapter.
    Starting with Part I (Chapters 1-4), I observed Grigorik's emphasis on "Networking 101" was delivered loud and clear. Grigorik levels the playing field for most readers regardless of their professional experience (i.e Network Engineers, Front End Developers, etc.) within this section. He immerses the reader using a detailed "Primer on Latency and Bandwidth", which taught me a new mantra: "Latency, not bandwidth, is the performance bottleneck for most websites!". Unfortunately, prior to reading "High Performance Browser Networking," I naively viewed bandwidth metrics as the culprit for all "lag" and "sluggish" web experience complaints I have encountered in my career. From now on, I will make a better effort to identify problem areas for latency related. Understanding the demand for Web Performance Optimization (WPO), Grigorik wraps up this section by introducing the reader to the building blocks required to tune TCP (TFO, SSR, Window Scaling), UDP (STUN,TURN, ICE) and introduces TLS optimization techniques.
    Part II (Chapters 5-8) was my favorite, because it dives deep in and out of the political confines of every pain point that annoy mobile device owners today. Chapter 5 and 6 opened my eyes to how important Wireless Networks are within the Mobile Web App development community. Grigorik warns the reader of the poor Wireless Performance conditions that exist in our current ecosystem by referring to these conditions as "Network Weather". He encourages the Mobile app developer become familiar with Wireless Performance fundamentals such as Signal Power, Bandwidth, Modulation and measuring Real-World WIFI Performance during the development process in order to deliver an excellent user experience
    Chapter 7 and 8 cover how consumers are affected by QoS semantics. To understand the full story, it is necessary to delve into mobile data caps, horrendous service coverage, poor battery life, and tricky marketing strategies involved within the End-to-End Carrier Architecture. Grigorik artistically paints a vivid picture in this section. He encourages all developers to become aware of the complex pitfalls that await their mobile applications by detailing a "Brief History of G`s" for Mobile Networks . This is a historical recap of international advancement from 1G to 4G (US) and HPSA+ (EU) which is I found very informative. In short, Grigorik recommends planning accordingly for rapid adoption of WiMax, VoLTE and similar emerging technologies by building resilient mobile applications that pay homage to our "Multigenerational Future".
    Intriguingly, I found the last 2 sections (Parts III and IV) of High Performance Browser Networking to be very difficult to comprehend. In all fairness, I know this is related to my lack of exposure to HTTP and Browser APIs from a Dev-centric viewpoint. Part III (Chapters 10-13) provided a "Brief History of HTTP" and the associated optimizations for Application Delivery. Professionally speaking, Im glad Grigorik included this section. However, he recommends reading the separate HTTP Definitive Guide by Brian Totty that will provide a thorough understanding of HTTP for beginners. I will plan on reading this section again after checking the definitive guide out. Part IV (Chapters 14-18) dives deep into the browser APIs that bind the browser networking to the actual network protocols *whew*. Grigorik does an excellent job of providing a detailed history of XHR, SSE, Websocket, and WebRTC. However I became too entranced in the history involved in how the we have gotten this far with browser APIs. At the time of this writing I am still reading Chapter 18, and would like recommendations on how to understand the Browser APIs more efficiently
    Finally, careful explanation paired with "good news… bad news..." humor provided a pleasant reading experience for me (a QA Engineer). I recommend that IT professionals of all levels read "High Performance Browser Networking" and dive deep into the optimization morsels reviewed within.

    (2 of 3 customers found this review helpful)

     
    5.0

    Simply amazing

    By chrone

    from Indonesia

    About Me Sys Admin

    Verified Reviewer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate
      • Novice
      • Student

      Comments about oreilly High Performance Browser Networking:

      I learned a lot from this book though I'm up to Chapter 4. Wish there would be more server configuration tweaking tips and tricks for Apache and PHP in Chapter ahead. :D

      (3 of 3 customers found this review helpful)

       
      5.0

      For a deep understanding

      By Michael

      from Canada

      About Me Developer, Educator, Full Stack

      Verified Reviewer

      Pros

      • Accurate
      • Easy to understand
      • Relevant History
      • Relevant History Backgrnd
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate
        • Novice
        • Student

        Comments about oreilly High Performance Browser Networking:

        Purchased the book as an early edition which was later updated. It provides the reader with a very complete understanding of every step involved in initiating and managing resource requests (network connections), from the low-level hardware used in cellular phone radios to internet gateways, traffic routing, and finally up to the browser. Importantly, the author provides examples and guides to best leverage each part, as well as historical caveats to keep in mind when future-proofing your application design.

        The majority of the concepts are also applicable outside the browser; I think (mobile) native application developers would get a lot out of it, especially the first three-quarters of the book.

        (4 of 4 customers found this review helpful)

         
        5.0

        Needed to be written

        By Jorge Nerin

        from Zaragoza, Spain

        About Me Developer, Sys Admin

        Verified Reviewer

        Pros

        • Accurate
        • Easy to understand
        • Well-written

        Cons

          Best Uses

          • Developer
          • Intermediate
          • Novice

          Comments about oreilly High Performance Browser Networking:

          I have read the book in Early Release (Raw & Unedited), but even at this stage it's a really, really good book. I have read books about optimizing the browsing experience for users that focused in other aspects like webserver performance, database performance, php performance, even client side performance like javascript and html. So far most have failed to address correctly that the communication between browser & server has to happen over some kind of channel with its quirks. The little details that surround the communications channel are something that today has to be taken account of.

          I think this book is aimed at mobile applications developers or mobile website developers (although every website will be used mobile eventually). But to correctly address the mobile programming you have to dig deeper in the Android/iOS APIs, and thats a moving target, the networking basics barely changes.

          I would have like a more in depth explanation of congestion control algorithms, the ways to fine tune them and a little more ways to tweak and optimize the network transmission.

          (2 of 2 customers found this review helpful)

           
          5.0

          Definate Buy

          By networking

          from USA

          About Me Network Engineer

          Verified Reviewer

          Pros

          • Accurate
          • Easy to understand

          Cons

            Best Uses

            • Novice
            • Student

            Comments about oreilly High Performance Browser Networking:

            This review is on the incomplete version of the book.

            However, I have to say that just the beginning of this book where it talks about TCP and how it can affect applications sums up most of my conversations with our applications department.

            I would highly recommend this book to application developers wanting to know how network protocols can affect them and to network engineers that need an easy resource to help troubleshoot these types of issues.

            Displaying reviews 1-5

            Back to top

             
            Buy 2 Get 1 Free Free Shipping Guarantee
            Buying Options
            Immediate Access - Go Digital what's this?
            Ebook: $38.99
            Formats:  DAISY, ePub, Mobi, PDF, Web Application
            Print & Ebook: $49.49
            Print: $44.99