高性能浏览器网络.pdf

高性能浏览器网络.pdf
 

书籍描述

内容简介
《高性能浏览器网络(影印版)(英文版)》具有说服力的书籍为每一名Web开发人员提供了其所应该了解的关于网络的方方面面。作为一名Google的Web性能工程师,作者Ilya Grigorik展示了针对TCP、UDP和TLS协议的性能优化最佳实践,他还解释了无线和移动网络优化特有的需求。接下来你会深入了解各种技术的性能特性,包括HTTP 2.0、基于xHR的客户端网络脚本、基于SSE和WebSocket的实时数据流以及基于WebRTC的P2P通信。

编辑推荐
《高性能浏览器网络(影印版)(英文版)》由东南大学出版社出版。

作者简介
作者:(美国)格里戈利克(Ilya Grigorik)

格里戈利克(Ilya Grigorik),是一名Google公司的Web性能工程师和开发人员,他主要负责通过搭建和推动采用Google内外部的性能最佳实践来使得Web访问更为迅速。

目录
Foreword
Preface
Part Ⅰ.Networking101
1.Primer on Latency and Bandwidth
Speed Is a Feature
The Many Components of Latency
Speed of Light and Propagation Latency
Last—Mile Latency
Bandwidth in Core Networks
Bandwidth at the Network Edge
Delivering Higher Bandwidth and Lower Latencies
2.Building Blocks of KP
Three—Way Handshake
Congestion Avoidance and Control
Flow Control
Slow—Start
Congestion Avoidance
Bandwidth—Delay Product
Head—of—Line Blocking
Optimizing for TCP
Tuning Server Configuration
Tuning Application Behavior
Performance Checklist
3.Building BI0cksofUDP
Null Protocol Services
UDP and Network Address Translators
Connection—State Timeouts
NAT Traversal
STUN, TURN, and ICE
Optimizing for UDP
4.Transport Layer Security (TLS)
Encryption, Authentication, and Integrity
TLS Handshake
Application Layer Protocol Negotiation (ALPN)
Server Name Indication (SNI)
TLS Session Resumption
Session Identifiers
Session Tickets
Chain of Trust and Certificate Authorities
Certificate Revocation
Certificate Revocation List (CRL)
Online Certificate Status Protocol (OCSP)
TLS Record Protocol
Optimizing for TLS
Computational Costs
Early Termination
Session Caching and Stateless Resumption
TLS Record Size
TLS Compression
Certificate—Chain Length
OCSP Stapling
HTTP Strict Transport Security (HSTS)
Performance Checklist
Testing and Verification
Part Ⅱ.Performance of Wireless Networks
5.Introduction to Wireless Networks
Ubiquitous Connectivity
Types of Wireless Networks
Performance Fundamentals of Wireless Networks
Bandwidth
Signal Power
Modulation
Part Ⅲ.HTTP
Part Ⅳ.Browser APIs and Protocols
Index

文摘
版权页:



Both concatenation and spriting techniques are examples of content-aware application layer optimizations, which can yield significant performance improvements by reducing the networking overhead costs.However, these same techniques also introduce extra application complexity by requiring additional preprocessing, deployment considera-tions, and code (e.g., extra CSS markup for managing sprites).Further, bundling mul-tiple independent resources may also have a significant negative impact on cache per-formance and execution speed of the page.
To understand why these techniques may hurt performance, consider the not-unusual case of an application with a few dozen individual JavaScript and CSS files, all combined into two requests in a production environment, one for the CSS and one for the Java-Script assets:
All resources of the same type will live under the same URL (and cache key).
Combined bundle may contain resources that are not required for the current page.
A single update to any one individualFile will require invalidating and downloading the full asset bundle, resulting in high byte overhead costs.
Both JavaScript and CSS are parsed and executed only when the transferis fmished, potentially delaying the execution speed ofyour application.
In practice, most web applications are not single pages but collections ofdifferent views, each with different resource requirements but also with significant overlap: common CSS, JavaScript, and images.Hence, combining all assets into a single bundle often results in loading and processing of unnecessary bytes on the wire-although this can be seen as a form of pre-fetching, but at the cost of slower initial startup.

购买书籍

当当网购书 京东购书 卓越购书

PDF电子书下载地址

相关书籍

搜索更多