Book description
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
Publisher resources
Table of contents
- Foreword
- Preface
- I. Networking 101
- 1. Primer on Latency and Bandwidth
- 2. Building Blocks of TCP
- 3. Building Blocks of UDP
-
4. Transport Layer Security (TLS)
- Encryption, Authentication, and Integrity
- HTTPS Everywhere
- TLS Handshake
- TLS Session Resumption
- Chain of Trust and Certificate Authorities
- Certificate Revocation
- TLS Record Protocol
-
Optimizing for TLS
- Reduce Computational Costs
- Enable 1-RTT TLS Handshakes
- Optimize Connection Reuse
- Leverage Early Termination
- Configure Session Caching and Stateless Resumption
- Enable TLS False Start
- Optimize TLS Record Size
- Optimize the Certificate Chain
- Configure OCSP Stapling
- Enable HTTP Strict Transport Security (HSTS)
- Enable HTTP Public Key Pinning (HPKP)
- Update Site Content to HTTPS
- Performance Checklist
- Testing and Verification
- II. Performance of Wireless Networks
- 5. Introduction to Wireless Networks
- 6. WiFi
- 7. Mobile Networks
- 8. Optimizing for Mobile Networks
- III. HTTP
- 9. Brief History of HTTP
- 10. Primer on Web Performance
- 11. HTTP/1.X
- 12. HTTP/2
- 13. Optimizing Application Delivery
- IV. Browser APIs and Protocols
- 14. Primer on Browser Networking
- 15. XMLHttpRequest
- 16. Server-Sent Events (SSE)
- 17. WebSocket
- 18. WebRTC
- Index
- About the Author(s)
Product information
- Title: High Performance Browser Networking
- Author(s):
- Release date: September 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449344764
You might also like
book
Generative Deep Learning, 2nd Edition
Generative AI is the hottest topic in tech. This practical book teaches machine learning engineers and …
book
WebSocket
Until recently, creating desktop-like applications in the browser meant using inefficient Ajax or Comet technologies to …
book
Learning TypeScript
TypeScript has conquered the world of JavaScript: it's one of the world's fastest growing and most …
book
Articulating Design Decisions, 2nd Edition
Talking to people about your designs might seem like a basic skill, but it can be …