Dot ./개인 공부 기록용
2023. 4. 6.
Numbers Everyone Should Know 개발자가 알아야 하는 숫자 - Jeff Dean (제프 딘)
Numbers Everyone Should Know 이러한 숫자를 이해하면 특히 데이터에 액세스하거나 조작해야 하는 작업을 처리할 때 소프트웨어 설계에 대한 선택에 도움이 될 수 있다. 2020년 기준 L1 cache reference 1 ns Branch mispredict 3 ns L2 cache reference 4 ns Mutex lock/unlock 17 ns Main memory reference 100 ns Compress 1K bytes with Zippy 2,000 ns 2 μs Read 1 MB sequentially from memory 3,000 ns 3 μs SSD random read 16,000 ns 16 μs Round trip within same datacenter 500..