高性能 浏览器网络
hpbn.co
高性能
瀏覽器網(wǎng)絡(luò)
?ILYA GRIGORIK
性能是一個(gè)功能。本書提供了每個(gè)Web開發(fā)人員需要了解的各種類型的網(wǎng)絡(luò)(WiFi,3G / 4G),傳輸協(xié)議(UDP,TCP和TLS),應(yīng)用協(xié)議(HTTP / 1.1,HTTP / 2)和瀏覽器中可用的API(XHR,WebSocket,WebRTC等),以提供最快速,可靠和有彈性的用戶體驗(yàn)。
★★★★?(263):?GoodReads?Amazon?O'Reilly
這本書需要閱讀關(guān)心網(wǎng)絡(luò)性能的任何人;?它已經(jīng)被確定為關(guān)于該主題的參考。
- 諾丁漢公司(IETF HTTPBis主席)
§目錄
網(wǎng)絡(luò)101
引導(dǎo)延遲和帶寬
-
速度是一個(gè)特征
-
潛在的許多組成部分
-
光速和傳播延遲
-
最后一英里延遲
-
核心網(wǎng)絡(luò)帶寬
-
網(wǎng)絡(luò)邊緣帶寬
-
提供更高的帶寬和更低的延遲
TCP的構(gòu)建塊
-
三通握手
- +
擁塞避免與控制
-
帶寬延遲產(chǎn)品
-
線路封鎖
- +
優(yōu)化TCP
UDP的構(gòu)建塊
-
空協(xié)議服務(wù)
- +
UDP和網(wǎng)絡(luò)地址轉(zhuǎn)換器
-
優(yōu)化UDP
傳輸層安全(TLS)
-
加密,認(rèn)證和完整性
-
HTTPS無處不在
- +
TLS握手
- +
TLS會(huì)話恢復(fù)
-
信托鏈和認(rèn)證機(jī)構(gòu)
- +
證書吊銷
-
TLS Record Protocol
- +
Optimizing for TLS
-
Testing and Verification
Performance of Wireless Networks
Introduction to Wireless Networks
-
Ubiquitous Connectivity
-
Types of Wireless Networks
- +
Performance Fundamentals of Wireless Networks
-
Measuring Real-World Wireless Performance
WiFi
-
From Ethernet to a Wireless LAN
-
WiFi Standards and Features
- +
Measuring and Optimizing WiFi Performance
- +
Optimizing for WiFi Networks
Mobile Networks
- +
Brief History of the G’s
- +
Device Features and Capabilities
- +
Radio Resource Controller (RRC)
- +
End-to-End Carrier Architecture
- +
Packet Flow in a Mobile Network
-
Heterogeneous Networks (HetNets)
-
Real-World 3G, 4G, and WiFi Performance
Optimizing for Mobile Networks
-
Preserve Battery Power
- +
Eliminate Periodic and Inefficient Data Transfers
- +
Anticipate Network Latency Overhead
-
Design for Variable Network Interface Availability
-
Burst Your Data and Return to Idle
-
Offload to WiFi Networks
-
Apply Protocol and Application Best Practices
HTTP
Brief History of HTTP
-
HTTP 0.9: The One-Line Protocol
-
HTTP/1.0: Rapid Growth and Informational RFC
-
HTTP/1.1: Internet Standard
-
HTTP/2: Improving Transport Performance
Primer on Web Performance
-
Hypertext, Web Pages, and Web Applications
- +
Anatomy of a Modern Web Application
- +
Performance Pillars: Computing, Rendering, Networking
-
Synthetic and Real-User Performance Measurement
-
Browser Optimization
HTTP/1.X
-
Benefits of Keepalive Connections
-
HTTP Pipelining
-
Using Multiple TCP Connections
-
Domain Sharding
-
Measuring and Controlling Protocol Overhead
-
Concatenation and Spriting
-
Resource Inlining
HTTP/2
-
Brief History of SPDY and HTTP/2
-
Design and Technical Goals
-
Binary Framing Layer
-
Streams, Messages, and Frames
-
Request and Response Multiplexing
-
Stream Prioritization
-
One Connection Per Origin
-
Flow Control
-
Server Push
-
Header Compression
-
Upgrading to HTTP/2
- +
Brief Introduction to Binary Framing
Optimizing Application Delivery
-
Optimizing Physical and Transport Layers
- +
Evergreen Performance Best Practices
-
Optimizing for HTTP/1.x
- +
Optimizing for HTTP/2
Browser APIs and Protocols
Primer on Browser Networking
-
Connection Management and Optimization
-
Network Security and Sandboxing
-
Resource and Client State Caching
-
Application APIs and Protocols
XMLHttpRequest
-
Brief History of XHR
-
Cross-Origin Resource Sharing (CORS)
-
Downloading Data with XHR
-
Uploading Data with XHR
-
Monitoring Download and Upload Progress
-
Streaming Data with XHR
- +
Real-Time Notifications and Delivery
-
XHR Use Cases and Performance
Server-Sent Events (SSE)
-
EventSource API
-
Event Stream Protocol
-
SSE Use Cases and Performance
WebSocket
- +
WebSocket API
- +
WebSocket Protocol
- +
WebSocket Use Cases and Performance
-
Performance Checklist
WebRTC
-
Standards and Development of WebRTC
- +
Audio and Video Engines
- +
Real-Time Network Transports
- +
Establishing a Peer-to-Peer Connection
- +
Delivering Media and Application Data
- +
DataChannel
- +
WebRTC Use Cases and Performance
-
Performance Checklist
§About the author
Ilya Grigorik is a web performance engineer at Google and co-chair of the W3C Web Performance Working Group. Follow him on?his blog?and?Twitter?for the latest web performance news, tips, and talks.
Copyright ? 2013?Ilya Grigorik. Published by O'Reilly Media, Inc. Licensed under?CC BY-NC-ND 4.0.
轉(zhuǎn)載于:https://my.oschina.net/u/3373793/blog/885569
總結(jié)
- 上一篇: 手机卫士day11
- 下一篇: HTML5实现Winamp2.9音频播放