SlideShare une entreprise Scribd logo
1  sur  35
Télécharger pour lire hors ligne
感谢您参加本次Ar h u
         c S mmi全球架构师峰会!
               t
大会官方网站与资料下载地址:
www. c um m i . om
   ar hs    tc
Running the World’s Internet Servers




Dealing with Chinese
Network Anatomy


About Architecture

By Steve Mushero
                                                                                1

     Server Management  Cloud computing  Consulting   Copyright © 2012 ChinaNetCloud
Overview
     
         Talk about Chinese Internet Structure
     
         Chinese Internet Problems & Issues

     
         Strategies & Solutions
     
         Advice




                                                             2
ChinaNetCloud         Running the World’s Internet Servers       www.ChinaNetCloud.com
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

                                                                  3
ChinaNetCloud              Running the World’s Internet Servers       www.ChinaNetCloud.com
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
                                                                  4
ChinaNetCloud              Running the World’s Internet Servers       www.ChinaNetCloud.com
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

                                                                 5
ChinaNetCloud             Running the World’s Internet Servers       www.ChinaNetCloud.com
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
                                                                      6
                                                                      6
                Running the World’s Internet Servers   www.ChinaNetCloud.com
Monopoly ISPs

    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
                                                                      7
                                                                      7
                Running the World’s Internet Servers   www.ChinaNetCloud.com
Internet Challenges
      
          Poor interconnections
      
          Overloaded links
      
          Heavy-bandwidth uses

      
          Within Region
      
          Between Regions
      
          Internationally

                                                              8
ChinaNetCloud          Running the World’s Internet Servers       www.ChinaNetCloud.com
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

                                                                       9
                                                                       9
                 Running the World’s Internet Servers   www.ChinaNetCloud.com
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
                                                                     10
                                                                     10
                Running the World’s Internet Servers   www.ChinaNetCloud.com
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

                                                                      11
                                                                      11
                 Running the World’s Internet Servers   www.ChinaNetCloud.com
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
                                                                  12
ChinaNetCloud              Running the World’s Internet Servers        www.ChinaNetCloud.com
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 . . .
                                                                       13
                                                                       13
                  Running the World’s Internet Servers   www.ChinaNetCloud.com
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




                                                                14
ChinaNetCloud            Running the World’s Internet Servers        www.ChinaNetCloud.com
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


                                                                  15
ChinaNetCloud              Running the World’s Internet Servers        www.ChinaNetCloud.com
Industry Specific Issues
     
         E-Commerce
                – Response time
                – Reliability
     
         Advertising
                – Performance
     
         Gaming
                – Response time
                – Multi-user zoning
                – Big Downloads
                                                                  16
ChinaNetCloud              Running the World’s Internet Servers        www.ChinaNetCloud.com
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                              17
ChinaNetCloud              Running the World’s Internet Servers        www.ChinaNetCloud.com
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
                                                                  18
ChinaNetCloud              Running the World’s Internet Servers        www.ChinaNetCloud.com
Strategies Overview
     
         Good Location
     
         Good Bandwidth
     
         Good Design
     
         CDN
     
         Monitor
     
         Advanced options



                                                           19
ChinaNetCloud       Running the World’s Internet Servers        www.ChinaNetCloud.com
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


                                                                 20
ChinaNetCloud             Running the World’s Internet Servers        www.ChinaNetCloud.com
Locations
     
         Best you can afford
     
         Ask about service
     
         Ask about expansion
     
         Think about mobile
     
         Avoid 3rd tier cities
                 rd
     
         Avoid 3 tier IDCs
     
         Avoid 2nd tier if you have $$
     
         Think about clouds . . .
                                                               21
ChinaNetCloud           Running the World’s Internet Servers        www.ChinaNetCloud.com
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
                                                                 22
ChinaNetCloud             Running the World’s Internet Servers        www.ChinaNetCloud.com
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

                                                              23
ChinaNetCloud          Running the World’s Internet Servers        www.ChinaNetCloud.com
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
                                                                 24
ChinaNetCloud             Running the World’s Internet Servers        www.ChinaNetCloud.com
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



                                                                 25
ChinaNetCloud             Running the World’s Internet Servers        www.ChinaNetCloud.com
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
                                                                  26
ChinaNetCloud              Running the World’s Internet Servers        www.ChinaNetCloud.com
Best practices via YSlow
     
         Study Yahoo, Google & others
     
         Run YSlow & other tools
     
         Also GT Metrix




                                                            27
ChinaNetCloud        Running the World’s Internet Servers        www.ChinaNetCloud.com
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 !
                                                                  28
ChinaNetCloud              Running the World’s Internet Servers        www.ChinaNetCloud.com
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


                                                                  29
ChinaNetCloud              Running the World’s Internet Servers        www.ChinaNetCloud.com
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
                                                                  30
ChinaNetCloud              Running the World’s Internet Servers        www.ChinaNetCloud.com
Cross-Border International
     
         Same but Different
     
         Consider cross-region
                – PRC only
                – Foreign only (where?)
                – Both
                     • Separate – Any Sync ?
                     • Integrated – Rackspace HK
     
         Use cloud – Amazon

                                                                  31
ChinaNetCloud              Running the World’s Internet Servers        www.ChinaNetCloud.com
Summary
     
         Chinese Internet Big
     
         But difficult
     
         Choose location & IDC carefully
     
         Design your app well
     
         Use CDN
     
         Monitor
     
         Be fast . . . users be happy . . .

                                                                32
ChinaNetCloud            Running the World’s Internet Servers        www.ChinaNetCloud.com
Questions




                                                       33
ChinaNetCloud   Running the World’s Internet Servers        www.ChinaNetCloud.com
杭州站·2012年 10月 25日 ~27日
大会官网:www.c n a g h uc m
        q o h n z o .o

Contenu connexe

Tendances

Case study 2
Case study 2Case study 2
Case study 2
systemz
 

Tendances (6)

Cybera - ISAC
Cybera - ISACCybera - ISAC
Cybera - ISAC
 
Cybera - Staff Meeting
Cybera - Staff MeetingCybera - Staff Meeting
Cybera - Staff Meeting
 
LTE World Summit 2010 Amsterdam
LTE World Summit 2010 AmsterdamLTE World Summit 2010 Amsterdam
LTE World Summit 2010 Amsterdam
 
Building the Mobile Internet
Building the Mobile InternetBuilding the Mobile Internet
Building the Mobile Internet
 
Case study 2
Case study 2Case study 2
Case study 2
 
Why is there no British "Google"? Presented to the Cass Entrepreneurs Network...
Why is there no British "Google"? Presented to the Cass Entrepreneurs Network...Why is there no British "Google"? Presented to the Cass Entrepreneurs Network...
Why is there no British "Google"? Presented to the Cass Entrepreneurs Network...
 

En vedette

Wetware craftsmanship
Wetware craftsmanshipWetware craftsmanship
Wetware craftsmanship
drewz lin
 
Distribute key value_store
Distribute key value_storeDistribute key value_store
Distribute key value_store
drewz lin
 
移动互联网上的微视频处理与分发
移动互联网上的微视频处理与分发移动互联网上的微视频处理与分发
移动互联网上的微视频处理与分发
drewz lin
 
Top100summit 当当网打造个性化推荐 精准营销生态系统傅强
Top100summit 当当网打造个性化推荐 精准营销生态系统傅强Top100summit 当当网打造个性化推荐 精准营销生态系统傅强
Top100summit 当当网打造个性化推荐 精准营销生态系统傅强
drewz lin
 
刘源 人人网服务化与架构变迁V3
刘源 人人网服务化与架构变迁V3刘源 人人网服务化与架构变迁V3
刘源 人人网服务化与架构变迁V3
drewz lin
 
Testing systemqualities agile2012
Testing systemqualities   agile2012Testing systemqualities   agile2012
Testing systemqualities agile2012
drewz lin
 
Break down the silos collaboration techniques for teams 0
Break down the silos   collaboration techniques for teams 0Break down the silos   collaboration techniques for teams 0
Break down the silos collaboration techniques for teams 0
drewz lin
 
谷歌 Scott-lessons learned in testability
谷歌 Scott-lessons learned in testability谷歌 Scott-lessons learned in testability
谷歌 Scott-lessons learned in testability
drewz lin
 
Douban qcon2009 beijing
Douban qcon2009 beijingDouban qcon2009 beijing
Douban qcon2009 beijing
drewz lin
 
Simple design.published
Simple design.publishedSimple design.published
Simple design.published
drewz lin
 
Solo iterative process
Solo iterative processSolo iterative process
Solo iterative process
drewz lin
 
敏捷测试中的工具实现
敏捷测试中的工具实现敏捷测试中的工具实现
敏捷测试中的工具实现
drewz lin
 
Using rapid prototying_for_design_iteration
Using rapid prototying_for_design_iterationUsing rapid prototying_for_design_iteration
Using rapid prototying_for_design_iteration
drewz lin
 
Can marketing go agile
Can marketing go agileCan marketing go agile
Can marketing go agile
drewz lin
 

En vedette (16)

Wetware craftsmanship
Wetware craftsmanshipWetware craftsmanship
Wetware craftsmanship
 
Distribute key value_store
Distribute key value_storeDistribute key value_store
Distribute key value_store
 
移动互联网上的微视频处理与分发
移动互联网上的微视频处理与分发移动互联网上的微视频处理与分发
移动互联网上的微视频处理与分发
 
Top100summit 当当网打造个性化推荐 精准营销生态系统傅强
Top100summit 当当网打造个性化推荐 精准营销生态系统傅强Top100summit 当当网打造个性化推荐 精准营销生态系统傅强
Top100summit 当当网打造个性化推荐 精准营销生态系统傅强
 
刘源 人人网服务化与架构变迁V3
刘源 人人网服务化与架构变迁V3刘源 人人网服务化与架构变迁V3
刘源 人人网服务化与架构变迁V3
 
Advocating For Action Presentation
Advocating For Action PresentationAdvocating For Action Presentation
Advocating For Action Presentation
 
Testing systemqualities agile2012
Testing systemqualities   agile2012Testing systemqualities   agile2012
Testing systemqualities agile2012
 
Break down the silos collaboration techniques for teams 0
Break down the silos   collaboration techniques for teams 0Break down the silos   collaboration techniques for teams 0
Break down the silos collaboration techniques for teams 0
 
谷歌 Scott-lessons learned in testability
谷歌 Scott-lessons learned in testability谷歌 Scott-lessons learned in testability
谷歌 Scott-lessons learned in testability
 
Douban qcon2009 beijing
Douban qcon2009 beijingDouban qcon2009 beijing
Douban qcon2009 beijing
 
Simple design.published
Simple design.publishedSimple design.published
Simple design.published
 
Solo iterative process
Solo iterative processSolo iterative process
Solo iterative process
 
敏捷测试中的工具实现
敏捷测试中的工具实现敏捷测试中的工具实现
敏捷测试中的工具实现
 
Using rapid prototying_for_design_iteration
Using rapid prototying_for_design_iterationUsing rapid prototying_for_design_iteration
Using rapid prototying_for_design_iteration
 
Can marketing go agile
Can marketing go agileCan marketing go agile
Can marketing go agile
 
Net Ops Data Center Architecture Diagram 06
Net Ops Data Center Architecture Diagram 06Net Ops Data Center Architecture Diagram 06
Net Ops Data Center Architecture Diagram 06
 

Similaire à Steve mushero china netcloud sz arch event 20120805.1

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
 

Similaire à Steve mushero china netcloud sz arch event 20120805.1 (20)

Running Internet Systems in China - The Details You Need to Succeed in Chines...
Running Internet Systems in China - The Details You Need to Succeed in Chines...Running Internet Systems in China - The Details You Need to Succeed in Chines...
Running Internet Systems in China - The Details You Need to Succeed in Chines...
 
ChinaNetCloud - China Internet Infrastructure Summary
ChinaNetCloud - China Internet Infrastructure SummaryChinaNetCloud - China Internet Infrastructure Summary
ChinaNetCloud - China Internet Infrastructure Summary
 
Xyz company
Xyz companyXyz company
Xyz company
 
China Internet Metrics: ChinaNetCloud
China Internet Metrics: ChinaNetCloudChina Internet Metrics: ChinaNetCloud
China Internet Metrics: ChinaNetCloud
 
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
 
Computer Networks.pptx
Computer Networks.pptxComputer Networks.pptx
Computer Networks.pptx
 
PLNOG 8: Emil Kacperek - Sieć Ethernet jako fundament budowy Private Cloud
PLNOG 8: Emil Kacperek - Sieć Ethernet jako fundament budowy Private Cloud PLNOG 8: Emil Kacperek - Sieć Ethernet jako fundament budowy Private Cloud
PLNOG 8: Emil Kacperek - Sieć Ethernet jako fundament budowy Private Cloud
 
Life & Work of Dr. Vinton Cerf and Dr. Robert Kahn | Turing100@Persistent
Life & Work of Dr. Vinton Cerf and Dr. Robert Kahn | Turing100@PersistentLife & Work of Dr. Vinton Cerf and Dr. Robert Kahn | Turing100@Persistent
Life & Work of Dr. Vinton Cerf and Dr. Robert Kahn | Turing100@Persistent
 
CCNA Introduction to Networks Module 1
CCNA Introduction to Networks Module 1CCNA Introduction to Networks Module 1
CCNA Introduction to Networks Module 1
 
ITN_Module_1.pptx
ITN_Module_1.pptxITN_Module_1.pptx
ITN_Module_1.pptx
 
ITN_Module_1.pptx
ITN_Module_1.pptxITN_Module_1.pptx
ITN_Module_1.pptx
 
Delivering Innovative New Wireless Products and Services – Open or Managed Pl...
Delivering Innovative New Wireless Products and Services – Open or Managed Pl...Delivering Innovative New Wireless Products and Services – Open or Managed Pl...
Delivering Innovative New Wireless Products and Services – Open or Managed Pl...
 
Brocade Ethernet Fabrics and the ODDC
Brocade Ethernet Fabrics and the ODDCBrocade Ethernet Fabrics and the ODDC
Brocade Ethernet Fabrics and the ODDC
 
Networking basics
Networking basicsNetworking basics
Networking basics
 
Try Before you Buy: SDN Emulation with (Real) Interdomain Routing
Try Before you Buy: SDN Emulation with (Real) Interdomain RoutingTry Before you Buy: SDN Emulation with (Real) Interdomain Routing
Try Before you Buy: SDN Emulation with (Real) Interdomain Routing
 
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 ...
 
Scalar Brocade Toronto Roadshow 2013
Scalar Brocade Toronto Roadshow 2013Scalar Brocade Toronto Roadshow 2013
Scalar Brocade Toronto Roadshow 2013
 
IBM System Networking Overview - Jul 2013
IBM System Networking Overview - Jul 2013IBM System Networking Overview - Jul 2013
IBM System Networking Overview - Jul 2013
 
Wide area network (wan)
Wide area network (wan)Wide area network (wan)
Wide area network (wan)
 
Wide area network (wan)
Wide area network (wan)Wide area network (wan)
Wide area network (wan)
 

Plus de drewz lin

Web security-–-everything-we-know-is-wrong-eoin-keary
Web security-–-everything-we-know-is-wrong-eoin-kearyWeb security-–-everything-we-know-is-wrong-eoin-keary
Web security-–-everything-we-know-is-wrong-eoin-keary
drewz lin
 
Via forensics appsecusa-nov-2013
Via forensics appsecusa-nov-2013Via forensics appsecusa-nov-2013
Via forensics appsecusa-nov-2013
drewz lin
 
Phu appsec13
Phu appsec13Phu appsec13
Phu appsec13
drewz lin
 
Owasp2013 johannesullrich
Owasp2013 johannesullrichOwasp2013 johannesullrich
Owasp2013 johannesullrich
drewz lin
 
Owasp advanced mobile-application-code-review-techniques-v0.2
Owasp advanced mobile-application-code-review-techniques-v0.2Owasp advanced mobile-application-code-review-techniques-v0.2
Owasp advanced mobile-application-code-review-techniques-v0.2
drewz lin
 
I mas appsecusa-nov13-v2
I mas appsecusa-nov13-v2I mas appsecusa-nov13-v2
I mas appsecusa-nov13-v2
drewz lin
 
Defeating xss-and-xsrf-with-my faces-frameworks-steve-wolf
Defeating xss-and-xsrf-with-my faces-frameworks-steve-wolfDefeating xss-and-xsrf-with-my faces-frameworks-steve-wolf
Defeating xss-and-xsrf-with-my faces-frameworks-steve-wolf
drewz lin
 
Csrf not-all-defenses-are-created-equal
Csrf not-all-defenses-are-created-equalCsrf not-all-defenses-are-created-equal
Csrf not-all-defenses-are-created-equal
drewz lin
 
Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21
Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21
Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21
drewz lin
 
Appsec usa roberthansen
Appsec usa roberthansenAppsec usa roberthansen
Appsec usa roberthansen
drewz lin
 
Appsec usa2013 js_libinsecurity_stefanodipaola
Appsec usa2013 js_libinsecurity_stefanodipaolaAppsec usa2013 js_libinsecurity_stefanodipaola
Appsec usa2013 js_libinsecurity_stefanodipaola
drewz lin
 
Appsec2013 presentation-dickson final-with_all_final_edits
Appsec2013 presentation-dickson final-with_all_final_editsAppsec2013 presentation-dickson final-with_all_final_edits
Appsec2013 presentation-dickson final-with_all_final_edits
drewz lin
 
Appsec2013 presentation
Appsec2013 presentationAppsec2013 presentation
Appsec2013 presentation
drewz lin
 
Appsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitations
Appsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitationsAppsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitations
Appsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitations
drewz lin
 
Appsec2013 assurance tagging-robert martin
Appsec2013 assurance tagging-robert martinAppsec2013 assurance tagging-robert martin
Appsec2013 assurance tagging-robert martin
drewz lin
 
Amol scadaowasp
Amol scadaowaspAmol scadaowasp
Amol scadaowasp
drewz lin
 
Agile sdlc-v1.1-owasp-app sec-usa
Agile sdlc-v1.1-owasp-app sec-usaAgile sdlc-v1.1-owasp-app sec-usa
Agile sdlc-v1.1-owasp-app sec-usa
drewz lin
 
Vulnex app secusa2013
Vulnex app secusa2013Vulnex app secusa2013
Vulnex app secusa2013
drewz lin
 
基于虚拟化技术的分布式软件测试框架
基于虚拟化技术的分布式软件测试框架基于虚拟化技术的分布式软件测试框架
基于虚拟化技术的分布式软件测试框架
drewz lin
 
新浪微博稳定性经验谈
新浪微博稳定性经验谈新浪微博稳定性经验谈
新浪微博稳定性经验谈
drewz lin
 

Plus de drewz lin (20)

Web security-–-everything-we-know-is-wrong-eoin-keary
Web security-–-everything-we-know-is-wrong-eoin-kearyWeb security-–-everything-we-know-is-wrong-eoin-keary
Web security-–-everything-we-know-is-wrong-eoin-keary
 
Via forensics appsecusa-nov-2013
Via forensics appsecusa-nov-2013Via forensics appsecusa-nov-2013
Via forensics appsecusa-nov-2013
 
Phu appsec13
Phu appsec13Phu appsec13
Phu appsec13
 
Owasp2013 johannesullrich
Owasp2013 johannesullrichOwasp2013 johannesullrich
Owasp2013 johannesullrich
 
Owasp advanced mobile-application-code-review-techniques-v0.2
Owasp advanced mobile-application-code-review-techniques-v0.2Owasp advanced mobile-application-code-review-techniques-v0.2
Owasp advanced mobile-application-code-review-techniques-v0.2
 
I mas appsecusa-nov13-v2
I mas appsecusa-nov13-v2I mas appsecusa-nov13-v2
I mas appsecusa-nov13-v2
 
Defeating xss-and-xsrf-with-my faces-frameworks-steve-wolf
Defeating xss-and-xsrf-with-my faces-frameworks-steve-wolfDefeating xss-and-xsrf-with-my faces-frameworks-steve-wolf
Defeating xss-and-xsrf-with-my faces-frameworks-steve-wolf
 
Csrf not-all-defenses-are-created-equal
Csrf not-all-defenses-are-created-equalCsrf not-all-defenses-are-created-equal
Csrf not-all-defenses-are-created-equal
 
Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21
Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21
Chuck willis-owaspbwa-beyond-1.0-app secusa-2013-11-21
 
Appsec usa roberthansen
Appsec usa roberthansenAppsec usa roberthansen
Appsec usa roberthansen
 
Appsec usa2013 js_libinsecurity_stefanodipaola
Appsec usa2013 js_libinsecurity_stefanodipaolaAppsec usa2013 js_libinsecurity_stefanodipaola
Appsec usa2013 js_libinsecurity_stefanodipaola
 
Appsec2013 presentation-dickson final-with_all_final_edits
Appsec2013 presentation-dickson final-with_all_final_editsAppsec2013 presentation-dickson final-with_all_final_edits
Appsec2013 presentation-dickson final-with_all_final_edits
 
Appsec2013 presentation
Appsec2013 presentationAppsec2013 presentation
Appsec2013 presentation
 
Appsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitations
Appsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitationsAppsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitations
Appsec 2013-krehel-ondrej-forensic-investigations-of-web-exploitations
 
Appsec2013 assurance tagging-robert martin
Appsec2013 assurance tagging-robert martinAppsec2013 assurance tagging-robert martin
Appsec2013 assurance tagging-robert martin
 
Amol scadaowasp
Amol scadaowaspAmol scadaowasp
Amol scadaowasp
 
Agile sdlc-v1.1-owasp-app sec-usa
Agile sdlc-v1.1-owasp-app sec-usaAgile sdlc-v1.1-owasp-app sec-usa
Agile sdlc-v1.1-owasp-app sec-usa
 
Vulnex app secusa2013
Vulnex app secusa2013Vulnex app secusa2013
Vulnex app secusa2013
 
基于虚拟化技术的分布式软件测试框架
基于虚拟化技术的分布式软件测试框架基于虚拟化技术的分布式软件测试框架
基于虚拟化技术的分布式软件测试框架
 
新浪微博稳定性经验谈
新浪微博稳定性经验谈新浪微博稳定性经验谈
新浪微博稳定性经验谈
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Dernier (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

Steve mushero china netcloud sz arch event 20120805.1

  • 1. 感谢您参加本次Ar h u c S mmi全球架构师峰会! t 大会官方网站与资料下载地址: www. c um m i . om ar hs tc
  • 2. Running the World’s Internet Servers Dealing with Chinese Network Anatomy About Architecture By Steve Mushero 1 Server Management  Cloud computing  Consulting Copyright © 2012 ChinaNetCloud
  • 3. Overview  Talk about Chinese Internet Structure  Chinese Internet Problems & Issues  Strategies & Solutions  Advice 2 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 4. 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 3 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 5. 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 4 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 6. 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 5 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 7. 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 6 6 Running the World’s Internet Servers www.ChinaNetCloud.com
  • 8. Monopoly ISPs  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 7 7 Running the World’s Internet Servers www.ChinaNetCloud.com
  • 9. Internet Challenges  Poor interconnections  Overloaded links  Heavy-bandwidth uses  Within Region  Between Regions  Internationally 8 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 10. 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 9 9 Running the World’s Internet Servers www.ChinaNetCloud.com
  • 11. 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 10 10 Running the World’s Internet Servers www.ChinaNetCloud.com
  • 12. 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 11 11 Running the World’s Internet Servers www.ChinaNetCloud.com
  • 13. 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 12 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 14. 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 . . . 13 13 Running the World’s Internet Servers www.ChinaNetCloud.com
  • 15. 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 14 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 16. 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 15 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 17. Industry Specific Issues  E-Commerce – Response time – Reliability  Advertising – Performance  Gaming – Response time – Multi-user zoning – Big Downloads 16 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 18. 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 17 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 19. 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 18 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 20. Strategies Overview  Good Location  Good Bandwidth  Good Design  CDN  Monitor  Advanced options 19 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 21. 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 20 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 22. Locations  Best you can afford  Ask about service  Ask about expansion  Think about mobile  Avoid 3rd tier cities rd  Avoid 3 tier IDCs  Avoid 2nd tier if you have $$  Think about clouds . . . 21 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 23. 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 22 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 24. 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 23 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 25. 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 24 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 26. 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 25 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 27. 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 26 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 28. Best practices via YSlow  Study Yahoo, Google & others  Run YSlow & other tools  Also GT Metrix 27 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 29. 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 ! 28 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 30. 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 29 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 31. 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 30 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 32. Cross-Border International  Same but Different  Consider cross-region – PRC only – Foreign only (where?) – Both • Separate – Any Sync ? • Integrated – Rackspace HK  Use cloud – Amazon 31 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 33. Summary  Chinese Internet Big  But difficult  Choose location & IDC carefully  Design your app well  Use CDN  Monitor  Be fast . . . users be happy . . . 32 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 34. Questions 33 ChinaNetCloud Running the World’s Internet Servers www.ChinaNetCloud.com
  • 35. 杭州站·2012年 10月 25日 ~27日 大会官网:www.c n a g h uc m q o h n z o .o