各種讀操作時間延時比較

Operation Type Approximate Time
Time to access local memory 100 ns
SSD disk seek 100,000 ns
Time of a network packet round trip within the same data center 500,000 ns
Disk seek (non-SSD) 10,000,000 ns
Read 1MB sequentially from network 10,000,000 ns
Read 1MB sequentially from disk (non-SSD) 30,000,000 ns
Time of a network packet round trip across Atlantic 150,000,000 ns
How many nanoseconds in a single second 1,000,000,000 ns

Table 6-1 Approximate Latencies when Accessing Different Resources

摘自《Web Scalability for Startup Engineers》

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章