注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
发现github里这篇文章,读后如沐春风。
不敢独享,在这里分享给大家:
https://github.com/donnemartin/s ... r/README-zh-Hans.md
这里我先贴点附录里的东西:
大家见笑了。
如果觉得有用, 请给俺加点米, 现在还是有的帖子读不了哇。
Numbers Everyone Should KnowTo evaluate design alternatives you first need a good sense of how long typical operations will take. Dr. Dean gives this list: - L1 cache reference 0.5 ns
- Branch mispredict 5 ns
- L2 cache reference 7 ns
- Mutex lock/unlock 100 ns
- Main memory reference 100 ns
- Compress 1K bytes with Zippy 10,000 ns
- Send 2K bytes over 1 Gbps network 20,000 ns
- Read 1 MB sequentially from memory 250,000 ns
- Round trip within same datacenter 500,000 ns
- Disk seek 10,000,000 ns
- Read 1 MB sequentially from network 10,000,000 ns
- Read 1 MB sequentially from disk 30,000,000 ns
- Send packet CA->Netherlands->CA 150,000,000 ns
|