注:其中,最后17个小节标题尚未译完,其余译完的标题尚未定稿,会与正式版有出入。仅供参考。
Acknowledgments 第2版赞誉 Preface 前言 Who Should Read This Book 读者对象 How This Book Is Organized 内容结构 About the Case Studies 案例研究 Online Resources 在线资源
4.1 Integration Points 集成点 - You Have How Many Feeds? 有多少传入数据? 4.1.1 Socket-Based Protocols 基于socket的协议 4.1.2 The 5 A.M. Problem 凌晨5点的催命电话 - Packet Capture 数据包捕获 4.1.3 HTTP Protocols HTTP协议 4.1.4 Vendor API Libraries 供应商的API程序库 4.1.5 Countering Integration Point Problems 应对集成点的问题 Remember This 要点回顾 4.2 Chain Reactions 链式反应 - Searching... 搜索... Remember This 要点回顾 4.3 Cascading Failures 层叠失效 Remember This 要点回顾 4.4 Users 用户 4.4.1 Traffic 网络流量 4.4.1.1 Heap Memory 堆内存 4.4.1.2 Off-Heap Memory, Off-Host Memory 堆外内存和主机外内存 4.4.1.3 Sockets 4.4.1.4 Closed Sockets 已关闭的sockets 4.4.2 Expensive to Serve 难伺候的用户 4.4.3 Unwanted Users 不受欢迎的用户 - Session Tracking 会话跟踪 4.4.4 Malicious Users 恶意用户 Remember This 要点回顾 4.5 Blocked Threads 阻塞的线程 4.5.1 Spot the Blocking 发现阻塞 - Use Caching, Carefully 使用缓存要谨慎 4.5.2 Libraries 程序库 Remember This 要点回顾 4.6 Self-Denial Attacks 自黑式攻击 4.6.1 Avoiding Self-Denial 避免自黑式攻击 Remember This 要点回顾 4.7 Scaling Effects 放大效应 4.7.1 Point-to-Point Communications 点对点通信 4.7.2 Shared Resources 共享资源 Remember This 要点回顾 4.8 Unbalanced Capacities 失衡的系统容量 4.8.1 Drive Out Through Testing 通过测试来发现 Remember This 要点回顾 4.9 Dogpile 叠罗汉 - Colo Workaround 公用托管机房的变通方法 Remember This 要点回顾 4.10 Force Multiplier 力量倍增器 4.10.1 Outage Amplification 被放大了的停机事故 4.10.2 Controls and Safeguards 控制和防护措施 Remember This 要点回顾 4.11 Slow Responses 缓慢的响应 Remember This 要点回顾 4.12 Unbounded Result Sets 无限长结果集 4.12.1 Black Monday 黑色星期一 Remember This 要点回顾 4.13 Wrapping Up 总结
5.1 Timeouts 超时 - Is All This Clutter Really Necessary? 这一切杂乱真的是必需的吗? Remember This 要点回顾 5.2 Circuit Breaker 断路器 Remember This 要点回顾 5.3 Bulkheads 舱壁 Remember This 要点回顾 5.4 Steady State 稳态 5.4.1 Data Purging 数据清除 5.4.2 Log Files 日志文件 - What About Compliance? Don’t We Have to Keep All Our Log Files Forever? 为了达到合规性,难道不应该永远保留所有的日志文件吗? 5.4.3 In-Memory Caching 内存中缓存 Remember This 要点回顾 5.5 Fail Fast 快速失败 - “We Got the Fax—It’s All Black” “我们收到了传真,怎么全是黑的?” Remember This 要点回顾 5.6 Let It Crash 任其崩溃 5.6.1 Limited Granularity 有限的粒度 5.6.2 Fast Replacement 快速更换 5.6.3 Supervision 监督 5.6.4 Reintegration 重新归队 Remember This 要点回顾 5.7 Handshaking 握手 5.7.1 Remember This 要点回顾 5.8 Test Harnesses 考验机 - Why Not Mock Objects? 为什么不用mock对象? Remember This 要点回顾 5.9 Decoupling Middleware 将中间件解耦 Remember This 要点回顾 5.10 Shed Load 卸下负载 Remember This 要点回顾 5.11 Create Back Pressure 构建背压机制 Remember This 要点回顾 5.12 Governor 节速器 Remember This 要点回顾 5.13 Wrapping Up 总结
Part II. Design for Production 为生产环境而设计
Part III. Deliver Your System 将系统交付
Part IV. Solve Systemic Problems 解决系统性的问题