Chapter�燨ptimization

Table of Contents

Don't Just Do Something, Stand There!

广告:个人专属 VPN,独立 IP,无限流量,多机房切换,还可以屏蔽广告和恶意软件,每月最低仅 5 美元

Measure before Optimizing

Nonlocality Considered Harmful

Throughput vs. Latency

Batching Operations
Overlapping Operations
Caching Operation Results

This is going to be a very short chapter, because the main thing Unix experience teaches us about optimizing for performance is how to know when not to do it. A secondary lesson is that the most effective optimization tactics are usually things we do for other reasons, such as cleanness of design.


 

 

 

Prev  Up Next

Silence Is Golden  Home 燚on't Just Do Something, Stand There!