SlideShare a Scribd company logo
1 of 33
1
Copyright © 2012 ChinaNetCloudServer Management  Cloud computing  Consulting
Running the World’s Internet Servers
Dealing with Chinese
Network Anatomy
About Architecture
By Steve Mushero
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
2
Overview

Talk about Chinese Internet Structure

Chinese Internet Problems & Issues

Strategies & Solutions

Advice
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
3
About Steve

Founder, CEO & CTO of ChinaNetCloud

Before that, CTO of Tudou ( 土豆网 )

Seven years in China

From Silicon Valley, Seattle, New York

20+ years experience as CTO

Experience in dev & ops
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
4
About ChinaNetCloud
Founded in Shanghai in 2008
by Silicon Valley Technology Guys
Vision: Run All the World's Internet Servers
We manage servers & systems
for Chinese Internet & Game Companies
Thousands of Servers - Hundreds of Customers
We've seen every type & size system
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
5
China Overview

China is World's largest Internet

But Infrastructure has unique characteristics

Difficult for world-class performance / user
experiences

Especially modern apps:
– Mobile apps, ads, & e-commerce

End-user speed linked to success & profits
6
Running the World’s Internet Servers www.ChinaNetCloud.com
6
China Internet Basics

World's largest – 500M users

Very advanced / fast
– 1-2-3 Mbps at home
– 5-10-20 Mbps at work
– 1-10-50 Gbps at IDC

But slow
– Congestion
– Regionality
7
Running the World’s Internet Servers www.ChinaNetCloud.com
7

China Telecom – South 21
• China NetCom – North 10
• China Mobile - GPRS
• China UniCom – iPhone
• CERNET - Students
• Several more like Railcom
• Unicom bought Netcom
• Mobile bought Railcom
• Telecom bought Unicom CDMA
Monopoly ISPs
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
8
Internet Challenges

Poor interconnections

Overloaded links

Heavy-bandwidth uses

Within Region

Between Regions

Internationally
9
Running the World’s Internet Servers www.ChinaNetCloud.com
9
Internet ISP Basics
Each ISP is REGIONAL
Actually one per province
And one per large city
And Mobile is separate
So not one company
Ex: Telecom is 31 companies
They don't cooperate well
10
Running the World’s Internet Servers www.ChinaNetCloud.com
10
Bottlenecks
Within & Between Regions
Heavy traffic
– P2P sharing
– Video (Tudou, etc.)
– Games, Music, etc.
Mobile speed limited
– They have to buy bandwidth
Can use Mobile IDC, but . . .
– Terrible service
11
Running the World’s Internet Servers www.ChinaNetCloud.com
11
Bottlenecks
ISPs don't care as no effect on revenue
– Challenges of limited competition
Even worse as they use proxies, back channels
Especially in smaller provinces
And CERNET for students
• Proxies in closets
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
12
Internet Challenges - Routing

BGP not common
– Requires cooperation
– Back to 1990s methods

Multi-line common
– Multi-IP per server
– Routing nightmare

BGP increasingly used
– Especially for mobile
– Expensive, only high-end
13
Running the World’s Internet Servers www.ChinaNetCloud.com
13
International Links

Only a few links, bottlenecks

Great Firewall of Fun

Often unstable / highly variable
– Good one day
– Then bad for an hour, day, week

Cannot depend on them

HK best, Japan next, beyond . . .
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
14
Internet Challenges - Students

Universities have separate network

CERNET

Hard to get to (expensive)

Often use async routing to save money

But useful for brands, games, etc.
– Use BGP / CDN
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
15
Internet Challenges - Mobile

Three carriers
– Separate from land lines

Traditionally used Mobile IDC
– Poor service

But also 50%+ on Wifi
– Makes good routing & IDC hard

Moving to 3-line BGP
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
16
Industry Specific Issues

E-Commerce
– Response time
– Reliability

Advertising
– Performance

Gaming
– Response time
– Multi-user zoning
– Big Downloads
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
17
BGP

Increasingly important

2, 3, 8 line – Very, very few 8 line

Usually best, BUT . . .

Expensive

Not always good
– Poor links to other ISP
– Strict bandwidth limits

Not always real
– NAT, other methods
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
18
IDC Data Centers

Increasingly important
– Mobile and $$ driving

Highly variable bandwidth
– Understand bandwidth
– When 100M is NOT !

Expansion a big problem

Service a big problem

Get what you pay for
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
19
Strategies Overview

Good Location

Good Bandwidth

Good Design

CDN

Monitor

Advanced options
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
20
Locations

Single vs. Multi-location

Multi-location very difficult
– Very rare in China
– Games or HA failover

Best to choose 1 good location
– Grow and use 2nd for HA

CHOOSE WELL
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
21
Locations

Best you can afford

Ask about service

Ask about expansion

Think about mobile

Avoid 3rd
tier cities

Avoid 3rd
tier IDCs

Avoid 2nd
tier if you have $$

Think about clouds . . .
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
22
Choosing IDCs

Get the best you can afford

Be careful, hard to change later

Connectivity First
– Including DDoS, ARP, Net

Service Second, important
– 24x7 Access
– Remote Hands

ChinaNetCenter, 21ViaNet, SRT
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
23
Connectivity & Bandwidth

Get the best you can afford

Think about users' location

Single vs. 2 vs. 3 vs. 8 line

Direct vs. BGP

For mobile, remember Wifi

Buy the Best & CDN the Rest
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
24
Performance

Think small & fast

Images, HTML, CSS, JS

Follow all best practices
– YSlow, etc.
– Test & Analyze

Use AJAX if possible

Other push, XMPP, node.js

CDN as much as you can
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
25
AJAX & Caching

A secret to perceived speed

Use statics as much as you can
– Long statics & rename

Use semi-statics
– Cache 1, 5, 60 minutes

Carefully consider other objects
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
26
Push & Async

Latest trend to perceived speed

XMPP
– Via OpenFire
– Messages, stats, updates

Node.js

Careful how you scale
– 250,000 per server ?

Careful of bad connections
– Re-connect, lazy connect
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
27
Best practices via YSlow

Study Yahoo, Google & others

Run YSlow & other tools

Also GT Metrix
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
28
Leveraging CDNs

Another secret to perceived speed

Also reduces expensive IDC bandwidth

Careful of version, expiration, names

WSA, too
– Whole Site Acceleration

ChinaNetCenter, FastWeb, ChinaCache

Clouds have CDN, too – AliYun, Amazon

Use a CDN, Always !
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
29
Monitoring

Several good monitoring services

From backbone or end user
– All around China
– Check each ISP
– Check each CDN

But Expensive !

Network Bench, Gomez, Jiankongbao
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
30
Using Clouds

Very flexible

Understand limits
– 100 Questions / Issues

Good International - AWS

Still limited in PRC
– But Improving
– Good Bandwidth, CDN
– Aliyun working hard to be AWS
– A few smaller – 21ViaNet Shanghai
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
31
Cross-Border International

Same but Different

Consider cross-region
– PRC only
– Foreign only (where?)
– Both
• Separate – Any Sync ?
• Integrated – Rackspace HK

Use cloud – Amazon
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
32
Summary

Chinese Internet Big

But difficult

Choose location & IDC carefully

Design your app well

Use CDN

Monitor

Be fast . . . users be happy . . .
Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud
33
Questions

More Related Content

Similar to Dealing with Chinese Network Anatomy | NC SZ Architect Event Speech 2012

Better Than Best Effort at Bloomberg from ThousandEyes Connect
Better Than Best Effort at Bloomberg from ThousandEyes ConnectBetter Than Best Effort at Bloomberg from ThousandEyes Connect
Better Than Best Effort at Bloomberg from ThousandEyes ConnectThousandEyes
 
More Datacenters, More Problems
More Datacenters, More ProblemsMore Datacenters, More Problems
More Datacenters, More ProblemsTodd Palino
 
Introduction to ThousandEyes
Introduction to ThousandEyesIntroduction to ThousandEyes
Introduction to ThousandEyesThousandEyes
 
Lecture notes - Data Centers________.pptx
Lecture notes - Data Centers________.pptxLecture notes - Data Centers________.pptx
Lecture notes - Data Centers________.pptxSandeepGupta229023
 
Introduction to ThousandEyes
Introduction to ThousandEyesIntroduction to ThousandEyes
Introduction to ThousandEyesThousandEyes
 
Kafka at Peak Performance
Kafka at Peak PerformanceKafka at Peak Performance
Kafka at Peak PerformanceTodd Palino
 
OaaS - Operations as a Service
OaaS - Operations as a ServiceOaaS - Operations as a Service
OaaS - Operations as a Serviceian236
 
Ethernet base divice control
Ethernet base divice controlEthernet base divice control
Ethernet base divice controlBhushan Deore
 
CCNA v6.0 ITN - Chapter 01
CCNA v6.0 ITN - Chapter 01CCNA v6.0 ITN - Chapter 01
CCNA v6.0 ITN - Chapter 01Irsandi Hasan
 
130815 - Content Delviery Networks for the IEEE Singapore Broadcast group
130815 - Content Delviery Networks for the IEEE Singapore Broadcast group130815 - Content Delviery Networks for the IEEE Singapore Broadcast group
130815 - Content Delviery Networks for the IEEE Singapore Broadcast groupPasocoPteLtd
 
ChinaNetCloud - OaaS Operations-as-a-Service - HostingCon - Sep 2014
ChinaNetCloud - OaaS Operations-as-a-Service - HostingCon - Sep 2014ChinaNetCloud - OaaS Operations-as-a-Service - HostingCon - Sep 2014
ChinaNetCloud - OaaS Operations-as-a-Service - HostingCon - Sep 2014ChinaNetCloud
 
Fernando Loureiro Presentation / CloudViews.Org - Cloud Computing Conference ...
Fernando Loureiro Presentation / CloudViews.Org - Cloud Computing Conference ...Fernando Loureiro Presentation / CloudViews.Org - Cloud Computing Conference ...
Fernando Loureiro Presentation / CloudViews.Org - Cloud Computing Conference ...EuroCloud
 
3 Ways to Connect to the Oracle Cloud
3 Ways to Connect to the Oracle Cloud3 Ways to Connect to the Oracle Cloud
3 Ways to Connect to the Oracle CloudSimon Haslam
 
Going Cloud, Going Mobile: Will Your Network Drag You Down?
Going Cloud, Going Mobile: Will Your Network Drag You Down?Going Cloud, Going Mobile: Will Your Network Drag You Down?
Going Cloud, Going Mobile: Will Your Network Drag You Down?Wes Morgan
 
Introduction To Web Technology
Introduction To Web TechnologyIntroduction To Web Technology
Introduction To Web TechnologyArun Kumar
 
Dynamic Software Defined Network Infrastructure Test Bed at Marist College
Dynamic Software Defined Network Infrastructure Test Bed at Marist CollegeDynamic Software Defined Network Infrastructure Test Bed at Marist College
Dynamic Software Defined Network Infrastructure Test Bed at Marist CollegeADVA
 

Similar to Dealing with Chinese Network Anatomy | NC SZ Architect Event Speech 2012 (20)

Better Than Best Effort at Bloomberg from ThousandEyes Connect
Better Than Best Effort at Bloomberg from ThousandEyes ConnectBetter Than Best Effort at Bloomberg from ThousandEyes Connect
Better Than Best Effort at Bloomberg from ThousandEyes Connect
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
More Datacenters, More Problems
More Datacenters, More ProblemsMore Datacenters, More Problems
More Datacenters, More Problems
 
Introduction to ThousandEyes
Introduction to ThousandEyesIntroduction to ThousandEyes
Introduction to ThousandEyes
 
Lecture notes - Data Centers________.pptx
Lecture notes - Data Centers________.pptxLecture notes - Data Centers________.pptx
Lecture notes - Data Centers________.pptx
 
Introduction to ThousandEyes
Introduction to ThousandEyesIntroduction to ThousandEyes
Introduction to ThousandEyes
 
Kafka at Peak Performance
Kafka at Peak PerformanceKafka at Peak Performance
Kafka at Peak Performance
 
OaaS - Operations as a Service
OaaS - Operations as a ServiceOaaS - Operations as a Service
OaaS - Operations as a Service
 
Ethernet base divice control
Ethernet base divice controlEthernet base divice control
Ethernet base divice control
 
CCNA v6.0 ITN - Chapter 01
CCNA v6.0 ITN - Chapter 01CCNA v6.0 ITN - Chapter 01
CCNA v6.0 ITN - Chapter 01
 
CCNA_ITN_Chp1.pptx
CCNA_ITN_Chp1.pptxCCNA_ITN_Chp1.pptx
CCNA_ITN_Chp1.pptx
 
Peering 101a
Peering 101aPeering 101a
Peering 101a
 
130815 - Content Delviery Networks for the IEEE Singapore Broadcast group
130815 - Content Delviery Networks for the IEEE Singapore Broadcast group130815 - Content Delviery Networks for the IEEE Singapore Broadcast group
130815 - Content Delviery Networks for the IEEE Singapore Broadcast group
 
ChinaNetCloud - OaaS Operations-as-a-Service - HostingCon - Sep 2014
ChinaNetCloud - OaaS Operations-as-a-Service - HostingCon - Sep 2014ChinaNetCloud - OaaS Operations-as-a-Service - HostingCon - Sep 2014
ChinaNetCloud - OaaS Operations-as-a-Service - HostingCon - Sep 2014
 
Fernando Loureiro Presentation / CloudViews.Org - Cloud Computing Conference ...
Fernando Loureiro Presentation / CloudViews.Org - Cloud Computing Conference ...Fernando Loureiro Presentation / CloudViews.Org - Cloud Computing Conference ...
Fernando Loureiro Presentation / CloudViews.Org - Cloud Computing Conference ...
 
3 Ways to Connect to the Oracle Cloud
3 Ways to Connect to the Oracle Cloud3 Ways to Connect to the Oracle Cloud
3 Ways to Connect to the Oracle Cloud
 
Going Cloud, Going Mobile: Will Your Network Drag You Down?
Going Cloud, Going Mobile: Will Your Network Drag You Down?Going Cloud, Going Mobile: Will Your Network Drag You Down?
Going Cloud, Going Mobile: Will Your Network Drag You Down?
 
Introduction To Web Technology
Introduction To Web TechnologyIntroduction To Web Technology
Introduction To Web Technology
 
Dynamic Software Defined Network Infrastructure Test Bed at Marist College
Dynamic Software Defined Network Infrastructure Test Bed at Marist CollegeDynamic Software Defined Network Infrastructure Test Bed at Marist College
Dynamic Software Defined Network Infrastructure Test Bed at Marist College
 

More from ChinaNetCloud

AWS ELB Tips & Best Practices
AWS ELB Tips & Best PracticesAWS ELB Tips & Best Practices
AWS ELB Tips & Best PracticesChinaNetCloud
 
OpsStack--Integrated Operation Platform
OpsStack--Integrated Operation PlatformOpsStack--Integrated Operation Platform
OpsStack--Integrated Operation PlatformChinaNetCloud
 
ChinaNetCloud Online Lecture:Something About Tshark
ChinaNetCloud Online Lecture:Something About TsharkChinaNetCloud Online Lecture:Something About Tshark
ChinaNetCloud Online Lecture:Something About TsharkChinaNetCloud
 
ChinaNetCloud Online Lecture: Fight Against External Attacks From Different L...
ChinaNetCloud Online Lecture: Fight Against External Attacks From Different L...ChinaNetCloud Online Lecture: Fight Against External Attacks From Different L...
ChinaNetCloud Online Lecture: Fight Against External Attacks From Different L...ChinaNetCloud
 
Steve Mushero on Entrepreneurship - 创业 - 崔牛会
Steve Mushero on Entrepreneurship - 创业 - 崔牛会Steve Mushero on Entrepreneurship - 创业 - 崔牛会
Steve Mushero on Entrepreneurship - 创业 - 崔牛会ChinaNetCloud
 
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲ChinaNetCloud
 
云中漫步 颠覆创新_创业邦春季创新峰会主题演讲 Cloud Innovation in China
云中漫步 颠覆创新_创业邦春季创新峰会主题演讲 Cloud Innovation in China云中漫步 颠覆创新_创业邦春季创新峰会主题演讲 Cloud Innovation in China
云中漫步 颠覆创新_创业邦春季创新峰会主题演讲 Cloud Innovation in ChinaChinaNetCloud
 
运维安全 抵抗黑客攻击_云络安全沙龙4月上海站主题分享
运维安全 抵抗黑客攻击_云络安全沙龙4月上海站主题分享运维安全 抵抗黑客攻击_云络安全沙龙4月上海站主题分享
运维安全 抵抗黑客攻击_云络安全沙龙4月上海站主题分享ChinaNetCloud
 
AWS Summit OaaS Talk by ChinaNetCloud
AWS Summit OaaS Talk by ChinaNetCloudAWS Summit OaaS Talk by ChinaNetCloud
AWS Summit OaaS Talk by ChinaNetCloudChinaNetCloud
 
Making Internet Operations Easier
Making Internet Operations EasierMaking Internet Operations Easier
Making Internet Operations EasierChinaNetCloud
 
Internet Cloud Operations - ChinaNetcloud & AWS Event Beijing
Internet Cloud Operations - ChinaNetcloud & AWS Event BeijingInternet Cloud Operations - ChinaNetcloud & AWS Event Beijing
Internet Cloud Operations - ChinaNetcloud & AWS Event BeijingChinaNetCloud
 
Big Data Security (ChinaNetCloud - Guiyang Conference)
Big Data Security (ChinaNetCloud - Guiyang Conference)Big Data Security (ChinaNetCloud - Guiyang Conference)
Big Data Security (ChinaNetCloud - Guiyang Conference)ChinaNetCloud
 
Internet System Security Overview
Internet System Security OverviewInternet System Security Overview
Internet System Security OverviewChinaNetCloud
 
Why Work at ChinaNetCloud
Why Work at ChinaNetCloudWhy Work at ChinaNetCloud
Why Work at ChinaNetCloudChinaNetCloud
 
Cloud Operations Challenges - Talk by ChinaNetCloud at Joint Cisco event
Cloud Operations Challenges - Talk by ChinaNetCloud at Joint Cisco eventCloud Operations Challenges - Talk by ChinaNetCloud at Joint Cisco event
Cloud Operations Challenges - Talk by ChinaNetCloud at Joint Cisco eventChinaNetCloud
 
Automatically Managing Internet Operations In The Cloud - 云计算平台的自动化运维
Automatically Managing  Internet Operations  In The Cloud - 云计算平台的自动化运维Automatically Managing  Internet Operations  In The Cloud - 云计算平台的自动化运维
Automatically Managing Internet Operations In The Cloud - 云计算平台的自动化运维ChinaNetCloud
 
ChinaNetCloud - Aliyun Joint Event on Cloud Operations
ChinaNetCloud - Aliyun Joint Event on Cloud Operations ChinaNetCloud - Aliyun Joint Event on Cloud Operations
ChinaNetCloud - Aliyun Joint Event on Cloud Operations ChinaNetCloud
 
ChinaNetCloud - Public Clouds in China Overview
ChinaNetCloud - Public Clouds in China OverviewChinaNetCloud - Public Clouds in China Overview
ChinaNetCloud - Public Clouds in China OverviewChinaNetCloud
 
Linux Memory Basics for SysAdmins - ChinaNetCloud Training
Linux Memory Basics for SysAdmins - ChinaNetCloud TrainingLinux Memory Basics for SysAdmins - ChinaNetCloud Training
Linux Memory Basics for SysAdmins - ChinaNetCloud TrainingChinaNetCloud
 

More from ChinaNetCloud (20)

AWS ELB Tips & Best Practices
AWS ELB Tips & Best PracticesAWS ELB Tips & Best Practices
AWS ELB Tips & Best Practices
 
OpsStack--Integrated Operation Platform
OpsStack--Integrated Operation PlatformOpsStack--Integrated Operation Platform
OpsStack--Integrated Operation Platform
 
ChinaNetCloud Online Lecture:Something About Tshark
ChinaNetCloud Online Lecture:Something About TsharkChinaNetCloud Online Lecture:Something About Tshark
ChinaNetCloud Online Lecture:Something About Tshark
 
ChinaNetCloud Online Lecture: Fight Against External Attacks From Different L...
ChinaNetCloud Online Lecture: Fight Against External Attacks From Different L...ChinaNetCloud Online Lecture: Fight Against External Attacks From Different L...
ChinaNetCloud Online Lecture: Fight Against External Attacks From Different L...
 
Steve Mushero on Entrepreneurship - 创业 - 崔牛会
Steve Mushero on Entrepreneurship - 创业 - 崔牛会Steve Mushero on Entrepreneurship - 创业 - 崔牛会
Steve Mushero on Entrepreneurship - 创业 - 崔牛会
 
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲
 
云中漫步 颠覆创新_创业邦春季创新峰会主题演讲 Cloud Innovation in China
云中漫步 颠覆创新_创业邦春季创新峰会主题演讲 Cloud Innovation in China云中漫步 颠覆创新_创业邦春季创新峰会主题演讲 Cloud Innovation in China
云中漫步 颠覆创新_创业邦春季创新峰会主题演讲 Cloud Innovation in China
 
运维安全 抵抗黑客攻击_云络安全沙龙4月上海站主题分享
运维安全 抵抗黑客攻击_云络安全沙龙4月上海站主题分享运维安全 抵抗黑客攻击_云络安全沙龙4月上海站主题分享
运维安全 抵抗黑客攻击_云络安全沙龙4月上海站主题分享
 
AWS Summit OaaS Talk by ChinaNetCloud
AWS Summit OaaS Talk by ChinaNetCloudAWS Summit OaaS Talk by ChinaNetCloud
AWS Summit OaaS Talk by ChinaNetCloud
 
Making Internet Operations Easier
Making Internet Operations EasierMaking Internet Operations Easier
Making Internet Operations Easier
 
Internet Cloud Operations - ChinaNetcloud & AWS Event Beijing
Internet Cloud Operations - ChinaNetcloud & AWS Event BeijingInternet Cloud Operations - ChinaNetcloud & AWS Event Beijing
Internet Cloud Operations - ChinaNetcloud & AWS Event Beijing
 
Big Data Security (ChinaNetCloud - Guiyang Conference)
Big Data Security (ChinaNetCloud - Guiyang Conference)Big Data Security (ChinaNetCloud - Guiyang Conference)
Big Data Security (ChinaNetCloud - Guiyang Conference)
 
Internet System Security Overview
Internet System Security OverviewInternet System Security Overview
Internet System Security Overview
 
Why Work at ChinaNetCloud
Why Work at ChinaNetCloudWhy Work at ChinaNetCloud
Why Work at ChinaNetCloud
 
Cloud Operations Challenges - Talk by ChinaNetCloud at Joint Cisco event
Cloud Operations Challenges - Talk by ChinaNetCloud at Joint Cisco eventCloud Operations Challenges - Talk by ChinaNetCloud at Joint Cisco event
Cloud Operations Challenges - Talk by ChinaNetCloud at Joint Cisco event
 
Automatically Managing Internet Operations In The Cloud - 云计算平台的自动化运维
Automatically Managing  Internet Operations  In The Cloud - 云计算平台的自动化运维Automatically Managing  Internet Operations  In The Cloud - 云计算平台的自动化运维
Automatically Managing Internet Operations In The Cloud - 云计算平台的自动化运维
 
ChinaNetCloud - Aliyun Joint Event on Cloud Operations
ChinaNetCloud - Aliyun Joint Event on Cloud Operations ChinaNetCloud - Aliyun Joint Event on Cloud Operations
ChinaNetCloud - Aliyun Joint Event on Cloud Operations
 
Clouds in China
Clouds in ChinaClouds in China
Clouds in China
 
ChinaNetCloud - Public Clouds in China Overview
ChinaNetCloud - Public Clouds in China OverviewChinaNetCloud - Public Clouds in China Overview
ChinaNetCloud - Public Clouds in China Overview
 
Linux Memory Basics for SysAdmins - ChinaNetCloud Training
Linux Memory Basics for SysAdmins - ChinaNetCloud TrainingLinux Memory Basics for SysAdmins - ChinaNetCloud Training
Linux Memory Basics for SysAdmins - ChinaNetCloud Training
 

Recently uploaded

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Dealing with Chinese Network Anatomy | NC SZ Architect Event Speech 2012

  • 1. 1 Copyright © 2012 ChinaNetCloudServer Management  Cloud computing  Consulting Running the World’s Internet Servers Dealing with Chinese Network Anatomy About Architecture By Steve Mushero
  • 2. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 2 Overview  Talk about Chinese Internet Structure  Chinese Internet Problems & Issues  Strategies & Solutions  Advice
  • 3. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 3 About Steve  Founder, CEO & CTO of ChinaNetCloud  Before that, CTO of Tudou ( 土豆网 )  Seven years in China  From Silicon Valley, Seattle, New York  20+ years experience as CTO  Experience in dev & ops
  • 4. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 4 About ChinaNetCloud Founded in Shanghai in 2008 by Silicon Valley Technology Guys Vision: Run All the World's Internet Servers We manage servers & systems for Chinese Internet & Game Companies Thousands of Servers - Hundreds of Customers We've seen every type & size system
  • 5. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 5 China Overview  China is World's largest Internet  But Infrastructure has unique characteristics  Difficult for world-class performance / user experiences  Especially modern apps: – Mobile apps, ads, & e-commerce  End-user speed linked to success & profits
  • 6. 6 Running the World’s Internet Servers www.ChinaNetCloud.com 6 China Internet Basics  World's largest – 500M users  Very advanced / fast – 1-2-3 Mbps at home – 5-10-20 Mbps at work – 1-10-50 Gbps at IDC  But slow – Congestion – Regionality
  • 7. 7 Running the World’s Internet Servers www.ChinaNetCloud.com 7  China Telecom – South 21 • China NetCom – North 10 • China Mobile - GPRS • China UniCom – iPhone • CERNET - Students • Several more like Railcom • Unicom bought Netcom • Mobile bought Railcom • Telecom bought Unicom CDMA Monopoly ISPs
  • 8. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 8 Internet Challenges  Poor interconnections  Overloaded links  Heavy-bandwidth uses  Within Region  Between Regions  Internationally
  • 9. 9 Running the World’s Internet Servers www.ChinaNetCloud.com 9 Internet ISP Basics Each ISP is REGIONAL Actually one per province And one per large city And Mobile is separate So not one company Ex: Telecom is 31 companies They don't cooperate well
  • 10. 10 Running the World’s Internet Servers www.ChinaNetCloud.com 10 Bottlenecks Within & Between Regions Heavy traffic – P2P sharing – Video (Tudou, etc.) – Games, Music, etc. Mobile speed limited – They have to buy bandwidth Can use Mobile IDC, but . . . – Terrible service
  • 11. 11 Running the World’s Internet Servers www.ChinaNetCloud.com 11 Bottlenecks ISPs don't care as no effect on revenue – Challenges of limited competition Even worse as they use proxies, back channels Especially in smaller provinces And CERNET for students • Proxies in closets
  • 12. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 12 Internet Challenges - Routing  BGP not common – Requires cooperation – Back to 1990s methods  Multi-line common – Multi-IP per server – Routing nightmare  BGP increasingly used – Especially for mobile – Expensive, only high-end
  • 13. 13 Running the World’s Internet Servers www.ChinaNetCloud.com 13 International Links  Only a few links, bottlenecks  Great Firewall of Fun  Often unstable / highly variable – Good one day – Then bad for an hour, day, week  Cannot depend on them  HK best, Japan next, beyond . . .
  • 14. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 14 Internet Challenges - Students  Universities have separate network  CERNET  Hard to get to (expensive)  Often use async routing to save money  But useful for brands, games, etc. – Use BGP / CDN
  • 15. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 15 Internet Challenges - Mobile  Three carriers – Separate from land lines  Traditionally used Mobile IDC – Poor service  But also 50%+ on Wifi – Makes good routing & IDC hard  Moving to 3-line BGP
  • 16. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 16 Industry Specific Issues  E-Commerce – Response time – Reliability  Advertising – Performance  Gaming – Response time – Multi-user zoning – Big Downloads
  • 17. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 17 BGP  Increasingly important  2, 3, 8 line – Very, very few 8 line  Usually best, BUT . . .  Expensive  Not always good – Poor links to other ISP – Strict bandwidth limits  Not always real – NAT, other methods
  • 18. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 18 IDC Data Centers  Increasingly important – Mobile and $$ driving  Highly variable bandwidth – Understand bandwidth – When 100M is NOT !  Expansion a big problem  Service a big problem  Get what you pay for
  • 19. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 19 Strategies Overview  Good Location  Good Bandwidth  Good Design  CDN  Monitor  Advanced options
  • 20. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 20 Locations  Single vs. Multi-location  Multi-location very difficult – Very rare in China – Games or HA failover  Best to choose 1 good location – Grow and use 2nd for HA  CHOOSE WELL
  • 21. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 21 Locations  Best you can afford  Ask about service  Ask about expansion  Think about mobile  Avoid 3rd tier cities  Avoid 3rd tier IDCs  Avoid 2nd tier if you have $$  Think about clouds . . .
  • 22. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 22 Choosing IDCs  Get the best you can afford  Be careful, hard to change later  Connectivity First – Including DDoS, ARP, Net  Service Second, important – 24x7 Access – Remote Hands  ChinaNetCenter, 21ViaNet, SRT
  • 23. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 23 Connectivity & Bandwidth  Get the best you can afford  Think about users' location  Single vs. 2 vs. 3 vs. 8 line  Direct vs. BGP  For mobile, remember Wifi  Buy the Best & CDN the Rest
  • 24. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 24 Performance  Think small & fast  Images, HTML, CSS, JS  Follow all best practices – YSlow, etc. – Test & Analyze  Use AJAX if possible  Other push, XMPP, node.js  CDN as much as you can
  • 25. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 25 AJAX & Caching  A secret to perceived speed  Use statics as much as you can – Long statics & rename  Use semi-statics – Cache 1, 5, 60 minutes  Carefully consider other objects
  • 26. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 26 Push & Async  Latest trend to perceived speed  XMPP – Via OpenFire – Messages, stats, updates  Node.js  Careful how you scale – 250,000 per server ?  Careful of bad connections – Re-connect, lazy connect
  • 27. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 27 Best practices via YSlow  Study Yahoo, Google & others  Run YSlow & other tools  Also GT Metrix
  • 28. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 28 Leveraging CDNs  Another secret to perceived speed  Also reduces expensive IDC bandwidth  Careful of version, expiration, names  WSA, too – Whole Site Acceleration  ChinaNetCenter, FastWeb, ChinaCache  Clouds have CDN, too – AliYun, Amazon  Use a CDN, Always !
  • 29. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 29 Monitoring  Several good monitoring services  From backbone or end user – All around China – Check each ISP – Check each CDN  But Expensive !  Network Bench, Gomez, Jiankongbao
  • 30. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 30 Using Clouds  Very flexible  Understand limits – 100 Questions / Issues  Good International - AWS  Still limited in PRC – But Improving – Good Bandwidth, CDN – Aliyun working hard to be AWS – A few smaller – 21ViaNet Shanghai
  • 31. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 31 Cross-Border International  Same but Different  Consider cross-region – PRC only – Foreign only (where?) – Both • Separate – Any Sync ? • Integrated – Rackspace HK  Use cloud – Amazon
  • 32. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 32 Summary  Chinese Internet Big  But difficult  Choose location & IDC carefully  Design your app well  Use CDN  Monitor  Be fast . . . users be happy . . .
  • 33. Running the World’s Internet Servers www.ChinaNetCloud.comChinaNetCloud 33 Questions