Numbers Every Software Engineer Should Know

software

Will Faught

1 minute

Jeff Dean:

0.5 ns L1 cache reference 5 ns Branch mispredict 7 ns L2 cache reference 25 ns Mutex lock/unlock 100 ns Main memory reference 3,000 ns Compress 1K bytes with Zippy 20,000 ns Send 2K bytes over 1 Gbps network 250,000 ns Read 1 MB sequentially from memory 500,000 ns Round trip within same datacenter 10,000,000 ns Disk seek 20,000,000 ns Read 1 MB sequentially from disk 150,000,000 ns Send packet CA->Netherlands->CA

π