Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
網路概念簡介_網路速度篇.pdf
Search
jnlin
July 19, 2018
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
網路概念簡介_網路速度篇.pdf
jnlin
July 19, 2018
More Decks by jnlin
See All by jnlin
工程師到技術主管的思維轉變_敏捷_疊代與商業.pdf
jnlin
0
280
工程師的商業思維:商業與技術架構的關係
jnlin
0
200
擁抱流量:打造破億流量的系統架構
jnlin
0
91
Modern_Webconf_2018_從平台_媒體到數據公司_PIXNET_的架構演進.pdf
jnlin
0
350
How_to_be_a_better_developer_.pdf
jnlin
0
100
20120426 High Availability MySQL
jnlin
3
2.4k
20110821-webdevelopmentoncloudplatform-110820211058-phpapp01.pdf
jnlin
0
92
20110504-awstaipei-110504045602-phpapp01.pdf
jnlin
0
97
20110326-handlersocket-110325140025-phpapp02.pdf
jnlin
0
120
Featured
See All Featured
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Ruling the World: When Life Gets Gamed
codingconduct
0
400
Claude Code のすすめ
schroneko
67
230k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
220
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
760
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
BBQ
matthewcrist
90
10k
How GitHub (no longer) Works
holman
316
150k
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Transcript
網路路概念念簡介:網路路速度篇 Jui-Nan Lin @ PIXNET
我的網路路速度很慢! 100M的網路路還是卡卡,為什什麼?
網路路速度 頻寬(Throughput) 每秒鐘可以傳輸多少資料(⽔水管的粗細) 延遲(Latency) 「⼀一單位」資料要花多少時間傳輸(⽔水管的長度)
從 A -> B 電路路交換 (Circuit Switching) 封包交換 (Packet Switching)
1930年年代基隆隆電話交換所
IP 網路路 封包交換系統 封包有 Header 型態、來來源、⽬目的地 ⼀一個IP封包是網路路中的最⼩小單位 160bit (20bytes)
回到網路路速度的問題 ⽔水管很粗 同時可以處理理很多封包 ⽔水管很長 每個封包處理理很久 ⼤大⾶飛機可以坐很多⼈人,但⾶飛 到美國就是需要很多時間
Latency 相對論說,沒有任何東⻄西可以快過光速 所以資訊的傳遞速度 < 光速 (每秒30萬公⾥里里) Latency 被光速限制,跟距離有關
11 ms v.s. 144 ms
(從台灣)常⾒見見的 Latency RTT(Round Trip Time) 台灣:10 ms 香港:20 ms ⽇日本:60ms
美國⻄西岸:120ms ADSL:10ms 光纖上網:1ms 以內 Wifi:5ms 4G:20ms
RTT 很重要 因為我們使⽤用的是 TCP/IP TCP 建立連線時,有⼀一個 3 way handshaking 的步驟
Latency ⾼高,建立連線速度 慢 4G 有 20M,但是感覺 比光纖 10M 還慢
https://www.wireshark.org/
None
直⾶飛&轉機的差異異
解決 Latency ⾼高的⽅方法 縮短距離 CDN 共⽤用連線 HTTP 的 Keep-Alive 平⾏行行連線
Domain Sharding 共⽤用且平⾏行行傳輸 (Multiplexing) HTTP/2
⼩小結 網路路速度:頻寬與延遲 延遲常常比頻寬重要(尤其在玩遊戲的時候!) ⽤用 ping 和 traceroute 可以檢查延遲與節點數量量 有些技巧可以在延遲⾼高的網路路上,讓速度變快
None