計算機工程師分級_這些是每個計算機工程師都應該知道的數字

計算機工程師分級

In 2010, Jeff Dean from Google gave a wonderful talk at Stanford that made him quite famous. In it, he discussed a few numbers that are relevant to computing systems. Then Peter Norvig published those numbers for the first time on the internet.

2010年,來自Google的Jeff Dean在斯坦福大學進行了精彩的演講,這使他頗有名氣。 在其中,他討論了一些與計算系統有關的數字。 然后,彼得·諾維格(Peter Norvig)首次在互聯網上發布了這些數字。

Time passed, and the numbers changed. Here is a very good interactive web UI of those numbers which roughly tells how much they have changed over the years as a function of time.

時間過去了,數字改變了。 這是一個很好的交互式Web UI ,其中包含這些數字,可以粗略地說明這些年來這些數字隨時間變化了多少。

This article is not only a compilation of Jeff Dean's estimated data, but rather it brings together all such numbers from different sources. This should help you as a system designer and architect. While designing, you can use these numbers to estimate the amount of resources your system needs.

本文不僅是杰夫·迪恩(Jeff Dean)估計數據的匯編,而且還匯集了來自不同來源的所有此類數據。 這應該可以幫助您作為系統設計師和架構師。 在設計時,您可以使用這些數字來估計系統所需的資源量。

粗略估算2019年的延遲數據: (Rough estimation of latency data for 2019:)

  1. L1 cache reference: 1 nanosecond.

    L1緩存參考:1納秒。
  2. L2 cache reference: 4 nanoseconds.

    L2緩存參考:4納秒。
  3. Mutex Lock / Unlock: 17 nanoseconds.

    互斥鎖/解鎖:17納秒。
  4. Main memory / RAM reference: 100 nanoseconds.

    主內存/ RAM參考:100納秒。
  5. Compress 1 KB with Zippy (currently called Snappy): 2000 nanoseconds or 2 microseconds.

    使用Zippy(當前稱為Snappy )壓縮1 KB:2000納秒或2微秒。

  6. CPU branch mispredict: 3 nanoseconds.

    CPU分支預測錯誤 :3納秒。

  7. Solid State Drive (SSD) random read: 16 microseconds.

    固態硬盤(SSD)隨機讀取:16微秒。
  8. Disk (Hard drive / magnetic drive) seek: 3 milliseconds.

    磁盤(硬盤驅動器/磁性驅動器)搜尋:3毫秒。
  9. Read 1,000,000 bytes sequentially from main memory: 4 microseconds.

    從主內存順序讀取1,000,000字節:4微秒。
  10. Read 1,000,000 bytes sequentially from SSD: 62 microseconds.

    從SSD順序讀取1,000,000字節:62微秒。
  11. Read 1,000,000 bytes sequentially from disk: 947 microseconds.

    從磁盤順序讀取1,000,000字節:947微秒。
  12. Round trip network request in same data centre : 500 microseconds.

    同一數據中心的往返網絡請求:500微秒。
  13. Send 2000 bytes over commodity network: 62 nanoseconds.

    通過商品網絡發送2000字節:62納秒。

有效負載通過TCP傳輸所花費的時間: (Time Taken for payload to travel over TCP:)

Here is the amount of time required to transmit various data payloads on typical cell networks around the world assuming no data loss.

假設沒有數據丟失,這是在世界各地的典型蜂窩網絡上傳輸各種數據有效載荷所需的時間。

RTT — Round Trip Time — Total time taken for a data packet (bunch of data bytes) to travel from sender to receiver and receiver to sender over the network. In short, it’s called Ping time.

RTT —往返時間—數據包(數據字節束)在網絡上從發送方到接收方以及從接收方到發送方傳播所花費的總時間。 簡而言之,稱為Ping時間。

  1. Transfer of 1 byte to 13,000 bytes (roughly 13 KB) data takes 1 round trip or 1 RTT. Rough time taken — USA: 150 milliseconds, India: 1200 milliseconds, Brazil: 600 milliseconds.

    1字節到13,000字節(約13 KB)的數據傳輸需要1次往返或1次RTT。 花費的時間:美國:150毫秒,印度:1200毫秒,巴西:600毫秒。
  2. 13,001 bytes — 39,000 bytes (13 KB to 39 KB) takes 2 RTT. Rough time taken — USA: 300 milliseconds, India: 2400 milliseconds, Brazil: 1200 milliseconds.

    13,001字節-39,000字節(13 KB至39 KB)需要2個RTT。 花費的時間:美國:300毫秒,印度:2400毫秒,巴西:1200毫秒。
  3. 39,001 bytes — 91,000 bytes (39 KB to 91KB) takes 3 RTT. Rough time taken-USA: 450 milliseconds, India: 3600 milliseconds, Brazil: 1800 milliseconds.

    39,001字節— 91,000字節(39 KB至91KB)需要3個RTT。 花費的粗糙時間-美國:450毫秒,印度:3600毫秒,巴西:1800毫秒。
  4. 91,001 bytes — 195,000 bytes (91 KB to 195 KB) takes 4 RTT. Rough time taken — USA: 600 milliseconds, India: 4800 milliseconds, Brazil: 2400 milliseconds.

    91,001字節-195,000字節(91 KB至195 KB)需要4個RTT。 花費的時間:美國:600毫秒,印度:4800毫秒,巴西:2400毫秒。

So the greater the response size means more bytes, a longer round trip, more API latency, and ultimately a less user friendly app.

因此,響應大小越大,意味著字節越多,往返時間越長,API延遲越長,最終導致用戶友好的應用程序越少。

This post will be updated when new or updated numbers are found. Please let me know if you are aware of new numbers.

找到新的或更新的號碼后,該帖子將更新。 如果您知道新號碼,請告訴我。

This article is originally published on Author's medium wall. If you like it, please give claps.

本文最初發表在作者的媒體墻上 。 如果喜歡,請鼓掌。

Reference:

參考:

  1. https://colin-scott.github.io/blog/2012/12/24/latency-trends/

    https://colin-scott.github.io/blog/2012/12/24/latency-trends/

  2. https://blog.std.in/2015/05/23/http-response-sizes-and-tcp/

    https://blog.std.in/2015/05/23/http-response-sizes-and-tcp/

  3. https://medium.com/@kousiknath/must-know-numbers-for-every-computer-engineer-6338a12c292c

    https://medium.com/@kousiknath/must-know-numbers-for-every-computer-engineer-6338a12c292c

翻譯自: https://www.freecodecamp.org/news/must-know-numbers-for-every-computer-engineer/

計算機工程師分級

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/391307.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/391307.shtml
英文地址,請注明出處:http://en.pswp.cn/news/391307.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

leetcode 377. 組合總和 Ⅳ(dp)

給你一個由 不同 整數組成的數組 nums ,和一個目標整數 target 。請你從 nums 中找出并返回總和為 target 的元素組合的個數。 題目數據保證答案符合 32 位整數范圍。 示例 1: 輸入:nums [1,2,3], target 4 輸出:7 解釋&…

1.4- 定時任務總結之九句箴言

1.4定時任務之九句箴言九句箴言---- 不會九句箴言別做運維1.定時任務規則之前加注釋2.使用腳本代替命令行制定定時任務3.定時任務中date命令%的特殊含義定時任務中,%表示回車 -----可以使用\轉義4.運行腳本一定要用/bin/sh或sh腳本不必須有x權限5.定時任務中-命令或腳本的輸出…

ubuntu 18.04 vi里面方向鍵變成abcd 處理辦法

sudo apt-get remove vim-common sudo apt-get install vim 轉載于:https://www.cnblogs.com/testing-BH/p/11506400.html

知識力量_網絡分析的力量

知識力量The most common way to store data is in what we call relational form. Most systems get analyzed as collections of independent data points. It looks something like this:存儲數據的最常見方式是我們所謂的關系形式。 大多數系統作為獨立數據點的集合進行分析…

python里的apply,applymap和map的區別

apply,applymap和map的應用總結:apply 用在dataframe上,用于對row或者column進行計算;applymap 用于dataframe上,是元素級別的操作;map (其實是python自帶的)用于series上,是元素級別的操作。如…

驗證曲線和學習曲線_如何擊敗技術學習曲線的怪物

驗證曲線和學習曲線Doing what I do for a living, which these days mostly involves creating technology books and courseware, I’m constantly learning new technologies. In a way, my new tech adventures are not much different than the ones most IT pros face, e…

234

234 轉載于:https://www.cnblogs.com/Forever77/p/11509588.html

SCCM PXE客戶端無法加載DP(分發點)映像

上一篇文章我們講到了一個比較典型的PXE客戶端無法找到操作系統映像的故障,今天再和大家一起分享一個關于 PXE客戶端無法加載分發點映像的問題。具體的報錯截圖如下:從報錯中我們可以看到,PXE客戶端已經成功的找到了SCCM服務器,并…

Docker 入門(2)技術實現和核心組成

1. Docker 的技術實現 Docker 的實現,主要歸結于三大技術: 命名空間 ( Namespaces )控制組 ( Control Groups )聯合文件系統 ( Union File System ) 1.1 Namespace 命名空間可以有效地幫助Docker分離進程樹、網絡接口、掛載點以及進程間通信等資源。L…

marlin 三角洲_帶火花的三角洲湖:什么和為什么?

marlin 三角洲Let me start by introducing two problems that I have dealt time and again with my experience with Apache Spark:首先,我介紹一下我在Apache Spark上的經歷反復解決的兩個問題: Data “overwrite” on the same path causing data l…

環境變量的作用

1. PATH環境變量。作用是指定命令搜索路徑,在shell下面執行命令時,它會到PATH變量所指定的路徑中查找看是否能找到相應的命令程序。我們需要把 jdk安裝目錄下的bin目錄增加到現有的PATH變量中,bin目錄中包含經常要用到的可執行文件如javac/ja…

WeWork通過向225,000個社區征稅來拼命地從Meetup.com榨取現金

Update: A few hours after I published this article, Meetup quietly added a note to the top of their announcement. They have not tweeted or done anything else to publicize this note, but some people noticed it and shared it with me.更新:在我發布本…

eda分析_EDA理論指南

eda分析Most data analysis problems start with understanding the data. It is the most crucial and complicated step. This step also affects the further decisions that we make in a predictive modeling problem, one of which is what algorithm we are going to ch…

leetcode 897. 遞增順序搜索樹(中序遍歷)

給你一棵二叉搜索樹,請你 按中序遍歷 將其重新排列為一棵遞增順序搜索樹,使樹中最左邊的節點成為樹的根節點,并且每個節點沒有左子節點,只有一個右子節點。 示例 1: 輸入:root [5,3,6,2,4,null,8,1,null…

【一針見血】 JavaScript this

JavaScript this 指向一站式解決轉載于:https://www.cnblogs.com/xueyejinghong/p/8403987.html

基于ssm框架和freemarker的商品銷售系統

項目說明 1、項目文件結構 2、項目主要接口及其實現 (1)Index: 首頁頁面:展示商品功能,可登錄或查看商品詳細信息 (2)登錄:/ApiLogin 3、dao層 數據持久化層,把商品和用戶…

c++飛揚的小鳥游戲_通過建立一個飛揚的鳥游戲來學習從頭開始

c飛揚的小鳥游戲Learn how to use Scratch 3.0 by building a flappy bird game in this course developed by Warfame. Scratch is a free programming language and online community where you can create your own interactive stories, games, and animations. Scratch is…

345

345 轉載于:https://www.cnblogs.com/Forever77/p/11512701.html

簡·雅各布斯指數第二部分:測試

In Part I, I took you through the data gathering and compilation required to rank Census tracts by the four features identified by Jane Jacobs as the foundation of a great neighborhood:在第一部分中 ,我帶您完成了根據簡雅各布斯(Jacobs Jacobs)所確定…

Docker 入門(3)Docke的安裝和基本配置

1. Docker Linux下的安裝 1.1 Docker Engine 的版本 社區版 ( CE, Community Edition ) 社區版 ( Docker Engine CE ) 主要提供了 Docker 中的容器管理等基礎功能,主要針對開發者和小型團隊進行開發和試驗企業版 ( EE, Enterprise Edition ) 企業版 ( Docker Engi…