SlideShare a Scribd company logo
Lower network latency =
faster website loads
By Vu Long Tran, Customer Success
// Welcome
Does anyone know what this is?
What is the speed of light?
The speed of light = 299 792 458 m / s
299,792,458 metres per second
(approximately 300,000 km/s) - Wikipedia
Speed of light has not changed
Bandwidth vs. Latency
Source: https://www.igvita.com/2012/07/19/latency-the-new-web-performance-bottleneck/
Round-trip time (RTT)
Round-trip time (RTT) is the duration in
milliseconds (ms) it takes for a network request
to go from a starting point to a destination and
back again to the starting point.
More details: https://www.cloudflare.com/learning/cdn/glossary/round-trip-time-rtt/
How far is 10ms?
How far is 20ms?
How far is 50ms?
You want to be closer to your eyeballs
You can use a distributed network to be
closer to your eyeballs
Best to have more servers, than just one
Client requests a file from an origin server
Client pulls a cached file from the distributed
CDN network rather than the origin server
RTT (round-trip time back & forth) latency numbers:
● From New York, USA - 25ms
● From San Jose, USA - 36ms
● From Frankfurt, Germany - 110ms
● From Tokyo, Japan - 135ms
● From Sydney, Australia - 170ms
● From Singapore - 190ms
● From Mumbai, India - 225ms
dejavuguides.com - hosted on Blogger.com
dejavuguides.com - using a CDN
[VuLong@Vus-MacBook-Air ~]$ ping dejavuguides.com -c 50
PING dejavuguides.com (104.16.113.229): 56 data bytes
64 bytes from 104.16.113.229: icmp_seq=0 ttl=55 time=3.704 ms
...
64 bytes from 104.16.113.229: icmp_seq=42 ttl=55 time=3.755 ms
--- dejavuguides.com ping statistics ---
50 packets transmitted, 50 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 3.676/4.105/5.107/0.358 ms
Example ping to 1.1.1.1
[VuLong@Vus-MacBook-Air ~]$ ping 1.1.1.1 -c 50
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: icmp_seq=0 ttl=55 time=4.938 ms
...
64 bytes from 1.1.1.1: icmp_seq=1 ttl=55 time=5.028 ms
--- 1.1.1.1 ping statistics ---
50 packets transmitted, 50 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 4.643/5.398/7.026/0.494 ms
So how fast do you think can
you process incoming data?
20ms
40ms
80ms
Input delays of:
The fastest rate at which
humans appear to be able to
process incoming visual stimuli
is about 13 ms
So when you're gaming
So when you're gaming
● 300ms < game is unplayable
● 150ms < game play degraded
● 100ms < player performance affected
● 50ms > target performance
● 13ms > lower detectable limit
For a browser to download a web page over
HTTPS, it needs to:
Phase 1: DNS Lookup
Phase 2: TCP Handshake (1 round trip)
Phase 3: TLS Handshake (up to 2 round trips*)
Phase 4: HTTP (1 round trip)
So this inherently introduces latency
Round-trip time (RTT)
New Connections:
TLS 1.2 (and earlier)
4 RTT + DNS
TLS 1.3
3 RTT + DNS
TLS 1.3 + 0-RTT
3 RTT + DNS
Resumed Connections:
TLS 1.2 (and earlier)
3 RTT + DNS
TLS 1.3
3 RTT + DNS
TLS 1.3 + 0-RTT
2 RTT + DNS
TLS 1.3 has one less handshake
More information here - https://blog.cloudflare.com/why-iot-is-insecure
TLS 1.3 + 0 RTT is even faster
See video - https://vimeo.com/208331620
330ms vs 502ms
// The internet
Internet is interconnected networks
You can view submarine cable map across the world Submarine Cable Map www.submarinecablemap.com
You can view data centers across the world www.datacentermap.com
Internet = BGP
Internet uses BGP (Border Gateway Protocol) protocol for making routing
decisions across the internet
It's based on the System of Trust
Systems of Trust relies on ISPs
ISPs have many goals in mind, when making routing
decisions including:
• High availability
• Lower latency/ Packet loss
• Minimising traffic cost
• Maximising revenue
So what often happens?
Routing decisions may take detours
Routing decisions may avoid tollways
These routing decisions result in website
performance challenges
Origin
Congested
Network Path
Unreliable
Connection
Slow Loading Times
Static routes can't avoid congested network paths or unreliable connections
Poor User Experience
Slow loading times and connection
timeouts increase the likelihood of a
poor user experience that can result
in reduced revenue or damaged
brand reputation
© 2018 Cloudflare Inc. All rights reserved.
Is there anything you can do about it?
Origin
Connection Reuse
Minimize latency imposed by
TCP connection-setup
Congestion Avoidance
Routing decisions using real-world
network conditions
You can try Argo Smart Routing
Congested
Network Path
Unreliable
Connection
Faster Loading Times
Cloudflare routes over 10% of all HTTP Internet traffic
providing Argo with real world intelligence on the
fastest network paths.
Internet node / hop
Cloudflare Data Centers
Cloudflare’s private network
10Tbps throughput, with 151+ PoPs in 74+ countries
© 2018 Cloudflare Inc. All rights reserved.
Argo Smart Routing Sample Results
// Examples of better routing decisions at
play
Sketchers.com US - Argo 200ms perf increase
Source: https://twitter.com/m242/status/866683565286633472
absolutemusic.co.uk - ˜1.54 sec to ˜600 ms
Source: https://twitter.com/BobSpadger/status/866906385715482624
Stewardmedia.com.au - 50% perf increase
Source: https://twitter.com/jimboot/status/872750354986815489
Australian customer - 54% faster
This customer in Australia
saw an increase
performance improve from
455ms to 208ms.
Indian customer - 31% faster
This customer in India saw
performance improve from
623ms to 341ms.
Indian customer - 45% faster
This customer in India saw
performance improve from
623ms to 341ms.
Thailand customer - 59% faster
This customer in Thailand
saw performance improve
from 761ms to 313ms.
Takeaways
• The internet does not naturally always use the shortest
routing path
• Consider using a content delivery network rather than
one origin server alone
// Useful links
More information
Useful links
• TLS 1.3 over TLS 1.2 (leaner protocol, fewer packets needed to get started)
https://blog.cloudflare.com/introducing-tls-1-3
• TLS 1.3 bonus - 0-RTT for repeat visitors https://blog.cloudflare.com/introducing-0-
rtt
• Introducing Argo overview — A faster, more reliable, more secure Internet for
everyone - https://blog.cloudflare.com/argo
// Thank you!
Vu Long Tran
Customer Success, Singapore office
vulong@cloudflare.com
Twitter: @vulongtran

More Related Content

What's hot

Measuring ATR: IETF 101
Measuring ATR: IETF 101Measuring ATR: IETF 101
Measuring ATR: IETF 101
APNIC
 
Free radius for wpa2 enterprise with active directory integration
Free radius for wpa2 enterprise with active directory integrationFree radius for wpa2 enterprise with active directory integration
Free radius for wpa2 enterprise with active directory integration
Chanaka Lasantha
 
cPanel - Apache Global Configuration
cPanel - Apache Global ConfigurationcPanel - Apache Global Configuration
cPanel - Apache Global Configurationskuver
 
NANOG32 - DNS Anomalies and Their Impacts on DNS Cache Servers
NANOG32 - DNS Anomalies and Their Impacts on DNS Cache ServersNANOG32 - DNS Anomalies and Their Impacts on DNS Cache Servers
NANOG32 - DNS Anomalies and Their Impacts on DNS Cache Servers
Chika Yoshimura
 
DDoS Attacks - Scenery, Evolution and Mitigation
DDoS Attacks - Scenery, Evolution and MitigationDDoS Attacks - Scenery, Evolution and Mitigation
DDoS Attacks - Scenery, Evolution and Mitigation
Wilson Rogerio Lopes
 
RIPE 76: Measuring ATR
RIPE 76: Measuring ATRRIPE 76: Measuring ATR
RIPE 76: Measuring ATR
APNIC
 
Server Load Balancer Test Methodology
Server Load Balancer Test MethodologyServer Load Balancer Test Methodology
Server Load Balancer Test Methodology
Ixia
 
Fully Automate Application Delivery with Puppet and F5 - PuppetConf 2014
Fully Automate Application Delivery with Puppet and F5 - PuppetConf 2014Fully Automate Application Delivery with Puppet and F5 - PuppetConf 2014
Fully Automate Application Delivery with Puppet and F5 - PuppetConf 2014
Puppet
 
Testing High Performance Firewalls
Testing High Performance FirewallsTesting High Performance Firewalls
Testing High Performance Firewalls
Ixia
 
RIPE 76: TCP and BBR
RIPE 76: TCP and BBRRIPE 76: TCP and BBR
RIPE 76: TCP and BBR
APNIC
 
DNS-OARC-36: Measurement of DNSSEC Validation with RSA-4096
DNS-OARC-36: Measurement of DNSSEC Validation with RSA-4096DNS-OARC-36: Measurement of DNSSEC Validation with RSA-4096
DNS-OARC-36: Measurement of DNSSEC Validation with RSA-4096
APNIC
 
ICANN DNS Symposium 2021: Measuring Recursive Resolver Centrality
ICANN DNS Symposium 2021: Measuring Recursive Resolver CentralityICANN DNS Symposium 2021: Measuring Recursive Resolver Centrality
ICANN DNS Symposium 2021: Measuring Recursive Resolver Centrality
APNIC
 
Zombie DNS
Zombie DNSZombie DNS
Zombie DNS
APNIC
 
OARC 26: Who's asking
OARC 26: Who's askingOARC 26: Who's asking
OARC 26: Who's asking
APNIC
 
When to-sell-wan-optimization-sangfor-technologies-partner-program
When to-sell-wan-optimization-sangfor-technologies-partner-programWhen to-sell-wan-optimization-sangfor-technologies-partner-program
When to-sell-wan-optimization-sangfor-technologies-partner-program
Sangfor Technologies USA
 
Networking @Scale'19 - Getting a Taste of Your Network - Sergey Fedorov
Networking @Scale'19 - Getting a Taste of Your Network - Sergey FedorovNetworking @Scale'19 - Getting a Taste of Your Network - Sergey Fedorov
Networking @Scale'19 - Getting a Taste of Your Network - Sergey Fedorov
Sergey Fedorov
 
Денис Баталов, Принципы построения высоконагруженных сайтов на платформе АWS
Денис Баталов, Принципы построения высоконагруженных сайтов на платформе АWSДенис Баталов, Принципы построения высоконагруженных сайтов на платформе АWS
Денис Баталов, Принципы построения высоконагруженных сайтов на платформе АWS
Tanya Denisyuk
 
AWS Webcast - High Availability with Route 53 DNS Failover
AWS Webcast - High Availability with Route 53 DNS FailoverAWS Webcast - High Availability with Route 53 DNS Failover
AWS Webcast - High Availability with Route 53 DNS Failover
Amazon Web Services
 
DINR 2021 Virtual Workshop: Passive vs Active Measurements in the DNS
DINR 2021 Virtual Workshop: Passive vs Active Measurements in the DNSDINR 2021 Virtual Workshop: Passive vs Active Measurements in the DNS
DINR 2021 Virtual Workshop: Passive vs Active Measurements in the DNS
APNIC
 
What we can learn from CDNs about Web Development, Deployment, and Performance
What we can learn from CDNs about Web Development, Deployment, and PerformanceWhat we can learn from CDNs about Web Development, Deployment, and Performance
What we can learn from CDNs about Web Development, Deployment, and Performance
Fastly
 

What's hot (20)

Measuring ATR: IETF 101
Measuring ATR: IETF 101Measuring ATR: IETF 101
Measuring ATR: IETF 101
 
Free radius for wpa2 enterprise with active directory integration
Free radius for wpa2 enterprise with active directory integrationFree radius for wpa2 enterprise with active directory integration
Free radius for wpa2 enterprise with active directory integration
 
cPanel - Apache Global Configuration
cPanel - Apache Global ConfigurationcPanel - Apache Global Configuration
cPanel - Apache Global Configuration
 
NANOG32 - DNS Anomalies and Their Impacts on DNS Cache Servers
NANOG32 - DNS Anomalies and Their Impacts on DNS Cache ServersNANOG32 - DNS Anomalies and Their Impacts on DNS Cache Servers
NANOG32 - DNS Anomalies and Their Impacts on DNS Cache Servers
 
DDoS Attacks - Scenery, Evolution and Mitigation
DDoS Attacks - Scenery, Evolution and MitigationDDoS Attacks - Scenery, Evolution and Mitigation
DDoS Attacks - Scenery, Evolution and Mitigation
 
RIPE 76: Measuring ATR
RIPE 76: Measuring ATRRIPE 76: Measuring ATR
RIPE 76: Measuring ATR
 
Server Load Balancer Test Methodology
Server Load Balancer Test MethodologyServer Load Balancer Test Methodology
Server Load Balancer Test Methodology
 
Fully Automate Application Delivery with Puppet and F5 - PuppetConf 2014
Fully Automate Application Delivery with Puppet and F5 - PuppetConf 2014Fully Automate Application Delivery with Puppet and F5 - PuppetConf 2014
Fully Automate Application Delivery with Puppet and F5 - PuppetConf 2014
 
Testing High Performance Firewalls
Testing High Performance FirewallsTesting High Performance Firewalls
Testing High Performance Firewalls
 
RIPE 76: TCP and BBR
RIPE 76: TCP and BBRRIPE 76: TCP and BBR
RIPE 76: TCP and BBR
 
DNS-OARC-36: Measurement of DNSSEC Validation with RSA-4096
DNS-OARC-36: Measurement of DNSSEC Validation with RSA-4096DNS-OARC-36: Measurement of DNSSEC Validation with RSA-4096
DNS-OARC-36: Measurement of DNSSEC Validation with RSA-4096
 
ICANN DNS Symposium 2021: Measuring Recursive Resolver Centrality
ICANN DNS Symposium 2021: Measuring Recursive Resolver CentralityICANN DNS Symposium 2021: Measuring Recursive Resolver Centrality
ICANN DNS Symposium 2021: Measuring Recursive Resolver Centrality
 
Zombie DNS
Zombie DNSZombie DNS
Zombie DNS
 
OARC 26: Who's asking
OARC 26: Who's askingOARC 26: Who's asking
OARC 26: Who's asking
 
When to-sell-wan-optimization-sangfor-technologies-partner-program
When to-sell-wan-optimization-sangfor-technologies-partner-programWhen to-sell-wan-optimization-sangfor-technologies-partner-program
When to-sell-wan-optimization-sangfor-technologies-partner-program
 
Networking @Scale'19 - Getting a Taste of Your Network - Sergey Fedorov
Networking @Scale'19 - Getting a Taste of Your Network - Sergey FedorovNetworking @Scale'19 - Getting a Taste of Your Network - Sergey Fedorov
Networking @Scale'19 - Getting a Taste of Your Network - Sergey Fedorov
 
Денис Баталов, Принципы построения высоконагруженных сайтов на платформе АWS
Денис Баталов, Принципы построения высоконагруженных сайтов на платформе АWSДенис Баталов, Принципы построения высоконагруженных сайтов на платформе АWS
Денис Баталов, Принципы построения высоконагруженных сайтов на платформе АWS
 
AWS Webcast - High Availability with Route 53 DNS Failover
AWS Webcast - High Availability with Route 53 DNS FailoverAWS Webcast - High Availability with Route 53 DNS Failover
AWS Webcast - High Availability with Route 53 DNS Failover
 
DINR 2021 Virtual Workshop: Passive vs Active Measurements in the DNS
DINR 2021 Virtual Workshop: Passive vs Active Measurements in the DNSDINR 2021 Virtual Workshop: Passive vs Active Measurements in the DNS
DINR 2021 Virtual Workshop: Passive vs Active Measurements in the DNS
 
What we can learn from CDNs about Web Development, Deployment, and Performance
What we can learn from CDNs about Web Development, Deployment, and PerformanceWhat we can learn from CDNs about Web Development, Deployment, and Performance
What we can learn from CDNs about Web Development, Deployment, and Performance
 

Similar to Cloudflare lower network latency = faster website loads

Primer to Browser Netwroking
Primer to Browser NetwrokingPrimer to Browser Netwroking
Primer to Browser Netwroking
Shuya Osaki
 
Exploiting Network Protocols To Exhaust Bandwidth Links 2008 Final
Exploiting Network Protocols To Exhaust Bandwidth Links 2008 FinalExploiting Network Protocols To Exhaust Bandwidth Links 2008 Final
Exploiting Network Protocols To Exhaust Bandwidth Links 2008 Finalmasoodnt10
 
Operation of Ping - (Computer Networking)
Operation of Ping - (Computer Networking) Operation of Ping - (Computer Networking)
Operation of Ping - (Computer Networking)
Jubayer Al Mahmud
 
Site Speed Fundamentals
Site Speed FundamentalsSite Speed Fundamentals
Site Speed Fundamentals
Martin Breest
 
Network Application Performance
Network Application PerformanceNetwork Application Performance
Network Application Performance
Shumon Huque
 
PLNOG 17 - Patryk Wojtachnio - DDoS mitygacja oraz ochrona sieci w środowisku...
PLNOG 17 - Patryk Wojtachnio - DDoS mitygacja oraz ochrona sieci w środowisku...PLNOG 17 - Patryk Wojtachnio - DDoS mitygacja oraz ochrona sieci w środowisku...
PLNOG 17 - Patryk Wojtachnio - DDoS mitygacja oraz ochrona sieci w środowisku...
PROIDEA
 
DIY Internet: Snappy, Secure Networking with MinimaLT (JSConf EU 2013)
DIY Internet: Snappy, Secure Networking with MinimaLT (JSConf EU 2013)DIY Internet: Snappy, Secure Networking with MinimaLT (JSConf EU 2013)
DIY Internet: Snappy, Secure Networking with MinimaLT (JSConf EU 2013)
Igalia
 
UAV Data Link Design for Dependable Real-Time Communications
UAV Data Link Design for Dependable Real-Time CommunicationsUAV Data Link Design for Dependable Real-Time Communications
UAV Data Link Design for Dependable Real-Time Communications
Gerardo Pardo-Castellote
 
Networking Fundamentals: Transport Protocols (TCP and UDP)
Networking Fundamentals: Transport Protocols (TCP and UDP)Networking Fundamentals: Transport Protocols (TCP and UDP)
Networking Fundamentals: Transport Protocols (TCP and UDP)
Andriy Berestovskyy
 
Mobile web performance - MoDev East
Mobile web performance - MoDev EastMobile web performance - MoDev East
Mobile web performance - MoDev East
Patrick Meenan
 
Cloudflare Argo - Overview
Cloudflare Argo - OverviewCloudflare Argo - Overview
Cloudflare Argo - Overview
Vu Long Tran
 
Uber mobility - High Performance Networking
Uber mobility - High Performance NetworkingUber mobility - High Performance Networking
Uber mobility - High Performance Networking
Dhaval Patel
 
Troubleshooting TCP/IP
Troubleshooting TCP/IPTroubleshooting TCP/IP
Troubleshooting TCP/IP
vijai s
 
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
CA Technologies
 
Content Delivery Network
Content Delivery NetworkContent Delivery Network
Content Delivery Network
Faisal Akbar
 
The SPDY Protocol
The SPDY ProtocolThe SPDY Protocol
The SPDY Protocol
Fabian Lange
 
From Fast To SPDY
From Fast To SPDYFrom Fast To SPDY
From Fast To SPDY
Mike Belshe
 
Improving performance by changing the rules from fast to SPDY
Improving performance by changing the rules   from fast to SPDYImproving performance by changing the rules   from fast to SPDY
Improving performance by changing the rules from fast to SPDY
Cotendo
 
BreakingPoint & Fortinet RSA Conference 2011 Presentation: Evaluating Enterpr...
BreakingPoint & Fortinet RSA Conference 2011 Presentation: Evaluating Enterpr...BreakingPoint & Fortinet RSA Conference 2011 Presentation: Evaluating Enterpr...
BreakingPoint & Fortinet RSA Conference 2011 Presentation: Evaluating Enterpr...
Ixia
 
Internet Video
Internet VideoInternet Video
Internet Video
Salvatore Loreto
 

Similar to Cloudflare lower network latency = faster website loads (20)

Primer to Browser Netwroking
Primer to Browser NetwrokingPrimer to Browser Netwroking
Primer to Browser Netwroking
 
Exploiting Network Protocols To Exhaust Bandwidth Links 2008 Final
Exploiting Network Protocols To Exhaust Bandwidth Links 2008 FinalExploiting Network Protocols To Exhaust Bandwidth Links 2008 Final
Exploiting Network Protocols To Exhaust Bandwidth Links 2008 Final
 
Operation of Ping - (Computer Networking)
Operation of Ping - (Computer Networking) Operation of Ping - (Computer Networking)
Operation of Ping - (Computer Networking)
 
Site Speed Fundamentals
Site Speed FundamentalsSite Speed Fundamentals
Site Speed Fundamentals
 
Network Application Performance
Network Application PerformanceNetwork Application Performance
Network Application Performance
 
PLNOG 17 - Patryk Wojtachnio - DDoS mitygacja oraz ochrona sieci w środowisku...
PLNOG 17 - Patryk Wojtachnio - DDoS mitygacja oraz ochrona sieci w środowisku...PLNOG 17 - Patryk Wojtachnio - DDoS mitygacja oraz ochrona sieci w środowisku...
PLNOG 17 - Patryk Wojtachnio - DDoS mitygacja oraz ochrona sieci w środowisku...
 
DIY Internet: Snappy, Secure Networking with MinimaLT (JSConf EU 2013)
DIY Internet: Snappy, Secure Networking with MinimaLT (JSConf EU 2013)DIY Internet: Snappy, Secure Networking with MinimaLT (JSConf EU 2013)
DIY Internet: Snappy, Secure Networking with MinimaLT (JSConf EU 2013)
 
UAV Data Link Design for Dependable Real-Time Communications
UAV Data Link Design for Dependable Real-Time CommunicationsUAV Data Link Design for Dependable Real-Time Communications
UAV Data Link Design for Dependable Real-Time Communications
 
Networking Fundamentals: Transport Protocols (TCP and UDP)
Networking Fundamentals: Transport Protocols (TCP and UDP)Networking Fundamentals: Transport Protocols (TCP and UDP)
Networking Fundamentals: Transport Protocols (TCP and UDP)
 
Mobile web performance - MoDev East
Mobile web performance - MoDev EastMobile web performance - MoDev East
Mobile web performance - MoDev East
 
Cloudflare Argo - Overview
Cloudflare Argo - OverviewCloudflare Argo - Overview
Cloudflare Argo - Overview
 
Uber mobility - High Performance Networking
Uber mobility - High Performance NetworkingUber mobility - High Performance Networking
Uber mobility - High Performance Networking
 
Troubleshooting TCP/IP
Troubleshooting TCP/IPTroubleshooting TCP/IP
Troubleshooting TCP/IP
 
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
Pre-Con Education: Recognizing Your Network's Key Performance Indicators Th...
 
Content Delivery Network
Content Delivery NetworkContent Delivery Network
Content Delivery Network
 
The SPDY Protocol
The SPDY ProtocolThe SPDY Protocol
The SPDY Protocol
 
From Fast To SPDY
From Fast To SPDYFrom Fast To SPDY
From Fast To SPDY
 
Improving performance by changing the rules from fast to SPDY
Improving performance by changing the rules   from fast to SPDYImproving performance by changing the rules   from fast to SPDY
Improving performance by changing the rules from fast to SPDY
 
BreakingPoint & Fortinet RSA Conference 2011 Presentation: Evaluating Enterpr...
BreakingPoint & Fortinet RSA Conference 2011 Presentation: Evaluating Enterpr...BreakingPoint & Fortinet RSA Conference 2011 Presentation: Evaluating Enterpr...
BreakingPoint & Fortinet RSA Conference 2011 Presentation: Evaluating Enterpr...
 
Internet Video
Internet VideoInternet Video
Internet Video
 

Recently uploaded

1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
nirahealhty
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
GTProductions1
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Florence Consulting
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
nhiyenphan2005
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
CIOWomenMagazine
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
keoku
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
Javier Lasa
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
harveenkaur52
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 

Recently uploaded (20)

1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 

Cloudflare lower network latency = faster website loads

  • 1. Lower network latency = faster website loads By Vu Long Tran, Customer Success
  • 3. Does anyone know what this is?
  • 4.
  • 5. What is the speed of light?
  • 6. The speed of light = 299 792 458 m / s 299,792,458 metres per second (approximately 300,000 km/s) - Wikipedia
  • 7. Speed of light has not changed
  • 8. Bandwidth vs. Latency Source: https://www.igvita.com/2012/07/19/latency-the-new-web-performance-bottleneck/
  • 9. Round-trip time (RTT) Round-trip time (RTT) is the duration in milliseconds (ms) it takes for a network request to go from a starting point to a destination and back again to the starting point. More details: https://www.cloudflare.com/learning/cdn/glossary/round-trip-time-rtt/
  • 10. How far is 10ms?
  • 11. How far is 20ms?
  • 12. How far is 50ms?
  • 13. You want to be closer to your eyeballs
  • 14. You can use a distributed network to be closer to your eyeballs
  • 15. Best to have more servers, than just one
  • 16. Client requests a file from an origin server
  • 17. Client pulls a cached file from the distributed CDN network rather than the origin server
  • 18. RTT (round-trip time back & forth) latency numbers: ● From New York, USA - 25ms ● From San Jose, USA - 36ms ● From Frankfurt, Germany - 110ms ● From Tokyo, Japan - 135ms ● From Sydney, Australia - 170ms ● From Singapore - 190ms ● From Mumbai, India - 225ms dejavuguides.com - hosted on Blogger.com
  • 19. dejavuguides.com - using a CDN [VuLong@Vus-MacBook-Air ~]$ ping dejavuguides.com -c 50 PING dejavuguides.com (104.16.113.229): 56 data bytes 64 bytes from 104.16.113.229: icmp_seq=0 ttl=55 time=3.704 ms ... 64 bytes from 104.16.113.229: icmp_seq=42 ttl=55 time=3.755 ms --- dejavuguides.com ping statistics --- 50 packets transmitted, 50 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 3.676/4.105/5.107/0.358 ms
  • 20. Example ping to 1.1.1.1 [VuLong@Vus-MacBook-Air ~]$ ping 1.1.1.1 -c 50 PING 1.1.1.1 (1.1.1.1): 56 data bytes 64 bytes from 1.1.1.1: icmp_seq=0 ttl=55 time=4.938 ms ... 64 bytes from 1.1.1.1: icmp_seq=1 ttl=55 time=5.028 ms --- 1.1.1.1 ping statistics --- 50 packets transmitted, 50 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 4.643/5.398/7.026/0.494 ms
  • 21. So how fast do you think can you process incoming data?
  • 22.
  • 24. The fastest rate at which humans appear to be able to process incoming visual stimuli is about 13 ms
  • 25. So when you're gaming
  • 26. So when you're gaming ● 300ms < game is unplayable ● 150ms < game play degraded ● 100ms < player performance affected ● 50ms > target performance ● 13ms > lower detectable limit
  • 27. For a browser to download a web page over HTTPS, it needs to: Phase 1: DNS Lookup Phase 2: TCP Handshake (1 round trip) Phase 3: TLS Handshake (up to 2 round trips*) Phase 4: HTTP (1 round trip)
  • 28. So this inherently introduces latency
  • 29.
  • 30. Round-trip time (RTT) New Connections: TLS 1.2 (and earlier) 4 RTT + DNS TLS 1.3 3 RTT + DNS TLS 1.3 + 0-RTT 3 RTT + DNS Resumed Connections: TLS 1.2 (and earlier) 3 RTT + DNS TLS 1.3 3 RTT + DNS TLS 1.3 + 0-RTT 2 RTT + DNS
  • 31.
  • 32. TLS 1.3 has one less handshake More information here - https://blog.cloudflare.com/why-iot-is-insecure
  • 33. TLS 1.3 + 0 RTT is even faster See video - https://vimeo.com/208331620
  • 35.
  • 38. You can view submarine cable map across the world Submarine Cable Map www.submarinecablemap.com
  • 39. You can view data centers across the world www.datacentermap.com
  • 40. Internet = BGP Internet uses BGP (Border Gateway Protocol) protocol for making routing decisions across the internet
  • 41. It's based on the System of Trust
  • 42. Systems of Trust relies on ISPs ISPs have many goals in mind, when making routing decisions including: • High availability • Lower latency/ Packet loss • Minimising traffic cost • Maximising revenue
  • 43. So what often happens?
  • 44. Routing decisions may take detours
  • 45. Routing decisions may avoid tollways
  • 46. These routing decisions result in website performance challenges Origin Congested Network Path Unreliable Connection Slow Loading Times Static routes can't avoid congested network paths or unreliable connections Poor User Experience Slow loading times and connection timeouts increase the likelihood of a poor user experience that can result in reduced revenue or damaged brand reputation © 2018 Cloudflare Inc. All rights reserved.
  • 47. Is there anything you can do about it?
  • 48. Origin Connection Reuse Minimize latency imposed by TCP connection-setup Congestion Avoidance Routing decisions using real-world network conditions You can try Argo Smart Routing Congested Network Path Unreliable Connection Faster Loading Times Cloudflare routes over 10% of all HTTP Internet traffic providing Argo with real world intelligence on the fastest network paths. Internet node / hop Cloudflare Data Centers Cloudflare’s private network 10Tbps throughput, with 151+ PoPs in 74+ countries © 2018 Cloudflare Inc. All rights reserved.
  • 49.
  • 50. Argo Smart Routing Sample Results
  • 51.
  • 52. // Examples of better routing decisions at play
  • 53. Sketchers.com US - Argo 200ms perf increase Source: https://twitter.com/m242/status/866683565286633472
  • 54. absolutemusic.co.uk - ˜1.54 sec to ˜600 ms Source: https://twitter.com/BobSpadger/status/866906385715482624
  • 55. Stewardmedia.com.au - 50% perf increase Source: https://twitter.com/jimboot/status/872750354986815489
  • 56. Australian customer - 54% faster This customer in Australia saw an increase performance improve from 455ms to 208ms.
  • 57. Indian customer - 31% faster This customer in India saw performance improve from 623ms to 341ms.
  • 58. Indian customer - 45% faster This customer in India saw performance improve from 623ms to 341ms.
  • 59. Thailand customer - 59% faster This customer in Thailand saw performance improve from 761ms to 313ms.
  • 60. Takeaways • The internet does not naturally always use the shortest routing path • Consider using a content delivery network rather than one origin server alone
  • 61.
  • 62. // Useful links More information
  • 63. Useful links • TLS 1.3 over TLS 1.2 (leaner protocol, fewer packets needed to get started) https://blog.cloudflare.com/introducing-tls-1-3 • TLS 1.3 bonus - 0-RTT for repeat visitors https://blog.cloudflare.com/introducing-0- rtt • Introducing Argo overview — A faster, more reliable, more secure Internet for everyone - https://blog.cloudflare.com/argo
  • 64. // Thank you! Vu Long Tran Customer Success, Singapore office vulong@cloudflare.com Twitter: @vulongtran