登录
  • #刷题
  • #系统设计/ood

Gi‌‌‍‍‌‍‍‌‍‌‍‍‌‌‌‍‌‌‌‌‌‌‍‍‌‍‌‌‍‌‍‌thub里发现系统设计入门宝藏

0_-
10500
22
发现github里这篇文章,读后如沐春风。

不敢独享,在这里分享给大家:



这里我先贴点附录里的东西:

大家见笑了。

如果觉得有用, 请给俺加点米, 现在还是有的帖子读不了哇。

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

22条回复
热度排序

发表回复