Kniha High-Performance Browser Networking jako ebook zdarma:
http://chimera.labs.oreilly.com/books/1230000000545/index.htmlShrnuje, jak na rychlé weby a webové aplikace:
I. Networking 1011. Primer on Latency and BandwidthSpeed Is a FeatureThe Many Components of LatencySpeed of Light and Propagation LatencyLast-Mile LatencyBandwidth in Core NetworksBandwidth at the Network EdgeDelivering Higher Bandwidth and Lower Latencies2. Building Blocks of TCPThree-Way HandshakeCongestion Avoidance and ControlFlow ControlSlow-StartCongestion AvoidanceBandwidth-Delay ProductHead-of-Line BlockingOptimizing for TCPTuning Server ConfigurationTuning Application BehaviorPerformance Checklist3. Building Blocks of UDPNull Protocol ServicesUDP and Network Address TranslatorsConnection-State TimeoutsNAT TraversalSTUN, TURN, and ICEOptimizing for UDP4. Transport Layer Security (TLS)Encryption, Authentication, and IntegrityTLS HandshakeApplication Layer Protocol Negotiation (ALPN)Server Name Indication (SNI)TLS Session ResumptionSession IdentifiersSession TicketsChain of Trust and Certificate AuthoritiesCertificate RevocationCertificate Revocation List (CRL)Online Certificate Status Protocol (OCSP)TLS Record ProtocolOptimizing for TLSComputational CostsEarly TerminationSession Caching and Stateless ResumptionTLS Record SizeTLS CompressionCertificate-Chain LengthOCSP StaplingHTTP Strict Transport Security (HSTS)Performance ChecklistTesting and VerificationII. Performance of Wireless Networks5. Introduction to Wireless NetworksUbiquitous ConnectivityTypes of Wireless NetworksPerformance Fundamentals of Wireless NetworksBandwidthSignal PowerModulationMeasuring Real-World Wireless Performance6. WiFiFrom Ethernet to a Wireless LANWiFi Standards and FeaturesMeasuring and Optimizing WiFi PerformancePacket Loss in WiFi NetworksOptimizing for WiFi NetworksLeverage Unmetered BandwidthAdapt to Variable BandwidthAdapt to Variable Latency7. Mobile NetworksBrief History of the G’sFirst Data Services with 2G3GPP and 3GPP2 PartnershipsEvolution of 3G TechnologiesIMT-Advanced 4G RequirementsLong Term Evolution (LTE)HSPA+ is Leading Worldwide 4G AdoptionBuilding for the Multigeneration FutureDevice Features and CapabilitiesUser Equipment CategoryRadio Resource Controller (RRC)3G, 4G, and WiFi Power RequirementsLTE RRC State MachineHSPA and HSPA+ (UMTS) RRC State MachineEV-DO (CDMA) RRC State MachineInefficiency of Periodic TransfersEnd-to-End Carrier ArchitectureRadio Access Network (RAN)Core Network (CN)Backhaul Capacity and LatencyPacket Flow in a Mobile NetworkInitiating a RequestInbound Data FlowHeterogeneous Networks (HetNets)Real-World 3G, 4G, and WiFi Performance8. Optimizing for Mobile NetworksPreserve Battery PowerEliminate Periodic and Inefficient Data TransfersEliminate Unnecessary Application KeepalivesAnticipate Network Latency OverheadAccount for RRC State TransitionsDecouple User Interactions from Network CommunicationDesign for Variable Network Interface AvailabilityBurst Your Data and Return to IdleOffload to WiFi NetworksApply Protocol and Application Best PracticesIII. HTTP9. Brief History of HTTPHTTP 0.9: The One-Line ProtocolHTTP 1.0: Rapid Growth and Informational RFCHTTP 1.1: Internet StandardHTTP 2.0: Improving Transport Performance10. Primer on Web PerformanceHypertext, Web Pages, and Web ApplicationsAnatomy of a Modern Web ApplicationSpeed, Performance, and Human PerceptionAnalyzing the Resource WaterfallPerformance Pillars: Computing, Rendering, NetworkingMore Bandwidth Doesn’t Matter (Much)Latency as a Performance BottleneckSynthetic and Real-User Performance MeasurementBrowser Optimization11. HTTP 1.XBenefits of Keepalive ConnectionsHTTP PipeliningUsing Multiple TCP ConnectionsDomain ShardingMeasuring and Controlling Protocol OverheadConcatenation and SpritingResource Inlining12. HTTP 2.0History and Relationship to SPDYThe Road to HTTP 2.0Design and Technical GoalsBinary Framing LayerStreams, Messages, and FramesRequest and Response MultiplexingRequest PrioritizationOne Connection Per OriginFlow ControlServer PushHeader CompressionEfficient HTTP 2.0 Upgrade and DiscoveryBrief Introduction to Binary FramingInitiating a New StreamSending Application DataAnalyzing HTTP 2.0 Frame Data Flow13. Optimizing Application DeliveryEvergreen Performance Best PracticesCache Resources on the ClientCompress Transferred DataEliminate Unnecessary Request BytesParallelize Request and Response ProcessingOptimizing for HTTP 1.xOptimizing for HTTP 2.0Removing 1.x OptimizationsDual-Protocol Application StrategiesTranslating 1.x to 2.0 and BackEvaluating Server Quality and PerformanceSpeaking 2.0 with and without TLSLoad Balancers, Proxies, and Application ServersIV. Browser APIs and Protocols14. Primer on Browser NetworkingConnection Management and OptimizationNetwork Security and SandboxingResource and Client State CachingApplication APIs and Protocols15. XMLHttpRequestBrief History of XHRCross-Origin Resource Sharing (CORS)Downloading Data with XHRUploading Data with XHRMonitoring Download and Upload ProgressStreaming Data with XHRReal-Time Notifications and DeliveryPolling with XHRLong-Polling with XHRXHR Use Cases and Performance16. Server-Sent Events (SSE)EventSource APIEvent Stream ProtocolSSE Use Cases and Performance17. WebSocketWebSocket APIWS and WSS URL SchemesReceiving Text and Binary DataSending Text and Binary DataSubprotocol NegotiationWebSocket ProtocolBinary Framing LayerProtocol ExtensionsHTTP Upgrade NegotiationWebSocket Use Cases and PerformanceRequest and Response StreamingMessage OverheadData Efficiency and CompressionCustom Application ProtocolsDeploying WebSocket InfrastructurePerformance Checklist18. WebRTCStandards and Development of WebRTCAudio and Video EnginesAcquiring Audio and Video with getUserMediaReal-Time Network TransportsBrief Introduction to RTCPeerConnection APIEstablishing a Peer-to-Peer ConnectionSignaling and Session NegotiationSession Description Protocol (SDP)Interactive Connectivity Establishment (ICE)Incremental Provisioning (Trickle ICE)Tracking ICE Gathering and Connectivity StatusPutting It All TogetherDelivering Media and Application DataSecure Communication with DTLSDelivering Media with SRTP and SRTCPDelivering application data with SCTPDataChannelSetup and NegotiationConfiguring Message Order and ReliabilityPartially Reliable Delivery and Message SizeWebRTC Use Cases and PerformanceAudio, Video, and Data StreamingMultiparty ArchitecturesInfrastructure and Capacity PlanningData Efficiency and CompressionPerformance Checklist
7. 10. 2013 21:46:45