SlideShare a Scribd company logo
1 of 30
Umeng Operations Infrastructure & Practice
Wang Yuxi, Umeng
w@umeng.com
About Me
● Before 2014, the only ops at Umeng
● Now, core member of ops team
● Technical generalist, responsible for the overall reliability and performance
of Umeng
● ArchLinux user
@Jasey_Wang | http://JaseyWang.Me
Agenda
● About Umeng
● IDC
● Network
● Server
● Product
● On Giant’s Shoulders
● OS
● User Management
● Critical Infrastructure
● Package Management
● Code Deployment
● Configuration Management
● Monitoring
● Tuning
● Documation
● Outage & Diagnose
● Security
● With Dev
● What We Are Doing Now
About Umeng
● Founded on April 2010
● Incubated by Innovation
Works
● $10 Million raised from
Matrix China
● Acquired by Alibaba
● Largest Mobile app
analytical platform in
China
● 400K+ Apps
● ~1B mobile device
IDC
● IDC
o 3 + 1
● Rack
o ~90
● Server
o 800+
● Network device
o 100+
Network
● Bandwidth
o 4Gbps+
o BGP cost
● Internal Network
o 10G interconnection
o Third Network arch
 Upgrade on Q2, 2014
 Nexus 752
 Bonding
o OOB issue
Network(cont.)
Server
● Before 2014
o Dell(11G, 12G)
● Now
o Dell, HP, Huawei, Inspur
● 10G NIC, enterprise SSD
● Power supply, hot-plug, redundant
● Hard drive, hot-plug
Product
● Real time analytics(thunder)
o 150k req/s
o ~ 5B log/d
o 100+ shards
● Batch processing system(iceberg)
o ~ 300 2U node, 2T/3T, 7200 SAS
o ~ 3T/d daily incremental data
o 4P/5P usage
● Push, Social
Product(cont.)
On Giant’s Shoulders
● OSS
o Nginx(Tengine)
o Finagle, Thrift
o Redis
o Kafka
o Storm
o MongoDB
o Hadoop & ecosystem
● Enterprise
o Google apps
o Github enterprise
o Redhat
o NewRelic
o CDN
OS
● Before 2013
o Ubuntu 10.04/12.04
● Now
o RedHat 6.2, 2.6.32-279(80%)
o professional technical support
● BIOS, RAID
o automatic tools
o done before delivery
http://goo.gl/TyDEVR
OS(cont.)
● OS template
o ks & preseed(great pain)
o partition(ext3/ext4, mount options)
o unnecessary service(irqbalance, cpuspeed, netfilter, etc.)
o sshd, monitoring agent
o handy tools(nmap, tcpdump, htop, iftop, screen, etc.)
o lang(Java/Scala, Python, Ruby)
● Custom init setup via Cobbler
● Added automatically by Zabbix
User Management
● OpenVPN(multi path)
o Incredibly stable for 3 years, ZERO outage
o TCP vs UDP
● Public key
o OK for startup, quick & dirty
● IPA(identity, policy, audit(snoopy))
o preferred
● Headache for us, history reason
o engineers enjoy the “free style”
o so, the sooner the better
Critical Infrastructure
● DNS
o use IP, not hostname in your code
o retry, timeout
● NTP
● Netfilter
o disabled by default
o conntrack
o NAT server
Package Management
● Internal repo
o sync periodically
o GFWed issue :-(
● Really need compile?
● package manager
o yum/apt
o rpm/dpkg
o how we use them
● One package principle
o rpm
o tgz
Code deployment
● Capistrano
o Written in Ruby
o Deploy any language
o Easy to use
● Configuration management
o dev use
o ops
Configuration Management
● 2011
o tens of servers
o free to use, mainly shell
● 2012 ~ 2013
o just ME
o Puppet is ok, learn some
Ruby
o tens of modules written by
me
● Now
o prerequisite
 team skill tree
 learning curve
o Puppet
 obsolete in new IDC
 complex syntax, slow
o Saltstack
 easy to pick up
 flexible & plain
 ansible as backup
o Python/ruby scripts, product
level
Monitoring
● Metrics, Metrics, Metrics!!!
● “All monitoring software evolves towards becoming an
implementation of Nagios”
http://goo.gl/PvBYky
Monitoring(cont.)
● From top to bottom
o customer perspective
o business level(dau, etc.), critical sensitive
o application level(qps, latency, return code, exception)
o system level(load, nic, cpu, memory)
 fork
 swap in/out
 nic speed/drops/errors
 tcp queue, retransmit
o hardware level
Monitoring(cont.)
● Ideal
o near-real time
o flexible, 5s, 60s, 300s,
1800s
o comparable by date/time
o active/passive or just feed
● Dashboard(core metric)
● Before
o Nagios/Munin(out of box)
● Now
o Zabbix/Graphite
o networkbench,
alibench(user end)
o New relic
● log
o rsyslog
o ELK
o scripts
Tuning
● From app level to system level
● App level, not covered here
● System level, take away for common use
● Don’t forget hardware(BIOS, RAID)
● Baseline comes first
● One modification one time
● Never over-optimized
o “it works”, then “it runs happily”
o business driven
Tuning(cont.)
● Don’t modify kernel
parameter unless 100%
sure
o timestamp issue
o ecn issue
● Tcp related
● Ring buffer, interrupts,
open files, etc.
● DB, watch out
Documentation
● Routine
o regular deploy & setup, weekly report
o online standard, 100+ slides for engineer
o ops share every Thu
● Post-Mortem
o blameless
o timeline & deadline
● Github Wiki & Google Docs
Outage & Diagnose
● This year(2014)
o SLA 99% ~ 99.9%
o issues every week, mostly invisible to customers
● When site is down
o from bottom to top, vice-versa
o good bug can reproduce
o tools are key power
 system http://goo.gl/wrNLi7
 app
o inform support & bd
o technical background share(http://blog.umeng.com/?cat=4)
● Network is a unreliable, and it can breakdown
Security
● IP issue, long long
history
o public & private ip
o port restricted, listen()
o oob
● test IDC
● UDP amplification
● Bash, SSL vulnerability
● DDoS
● whitehat(WooYun, etc.)
http://goo.gl/Q1SkXV
With Dev
● Tradeoff
o less dev’s work usually means more reliable system
o there will always be conflicts between ops & dev
 unless one of them gives in
 aggressive or mild, choose one
● Understand business logic
o code talks
o data talks
http://goo.gl/Qwh6Ze
What We Are Doing Now
● New IDCs, New beginning, Great challenge
o active - backup
o active - active
● Transfer data from BJ to SH
● Env setup, stress test, benchmark
● Finally, switchover
http://goo.gl/TMDnnS
What We Are Doing Now(cont.)
● Private Cloud
o capex & opex
o resource(hardware,
software)
o workforce
End
Q & A

More Related Content

Recently uploaded

原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
ydyuyu
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
ydyuyu
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Monica Sydney
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
ayvbos
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
ayvbos
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
galaxypingy
 

Recently uploaded (20)

原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency Dallas
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
Power point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria IuzzolinoPower point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria Iuzzolino
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Umeng Operations Infrastructure & Practice

  • 1. Umeng Operations Infrastructure & Practice Wang Yuxi, Umeng w@umeng.com
  • 2. About Me ● Before 2014, the only ops at Umeng ● Now, core member of ops team ● Technical generalist, responsible for the overall reliability and performance of Umeng ● ArchLinux user @Jasey_Wang | http://JaseyWang.Me
  • 3. Agenda ● About Umeng ● IDC ● Network ● Server ● Product ● On Giant’s Shoulders ● OS ● User Management ● Critical Infrastructure ● Package Management ● Code Deployment ● Configuration Management ● Monitoring ● Tuning ● Documation ● Outage & Diagnose ● Security ● With Dev ● What We Are Doing Now
  • 4. About Umeng ● Founded on April 2010 ● Incubated by Innovation Works ● $10 Million raised from Matrix China ● Acquired by Alibaba ● Largest Mobile app analytical platform in China ● 400K+ Apps ● ~1B mobile device
  • 5. IDC ● IDC o 3 + 1 ● Rack o ~90 ● Server o 800+ ● Network device o 100+
  • 6. Network ● Bandwidth o 4Gbps+ o BGP cost ● Internal Network o 10G interconnection o Third Network arch  Upgrade on Q2, 2014  Nexus 752  Bonding o OOB issue
  • 8. Server ● Before 2014 o Dell(11G, 12G) ● Now o Dell, HP, Huawei, Inspur ● 10G NIC, enterprise SSD ● Power supply, hot-plug, redundant ● Hard drive, hot-plug
  • 9. Product ● Real time analytics(thunder) o 150k req/s o ~ 5B log/d o 100+ shards ● Batch processing system(iceberg) o ~ 300 2U node, 2T/3T, 7200 SAS o ~ 3T/d daily incremental data o 4P/5P usage ● Push, Social
  • 11. On Giant’s Shoulders ● OSS o Nginx(Tengine) o Finagle, Thrift o Redis o Kafka o Storm o MongoDB o Hadoop & ecosystem ● Enterprise o Google apps o Github enterprise o Redhat o NewRelic o CDN
  • 12. OS ● Before 2013 o Ubuntu 10.04/12.04 ● Now o RedHat 6.2, 2.6.32-279(80%) o professional technical support ● BIOS, RAID o automatic tools o done before delivery http://goo.gl/TyDEVR
  • 13. OS(cont.) ● OS template o ks & preseed(great pain) o partition(ext3/ext4, mount options) o unnecessary service(irqbalance, cpuspeed, netfilter, etc.) o sshd, monitoring agent o handy tools(nmap, tcpdump, htop, iftop, screen, etc.) o lang(Java/Scala, Python, Ruby) ● Custom init setup via Cobbler ● Added automatically by Zabbix
  • 14. User Management ● OpenVPN(multi path) o Incredibly stable for 3 years, ZERO outage o TCP vs UDP ● Public key o OK for startup, quick & dirty ● IPA(identity, policy, audit(snoopy)) o preferred ● Headache for us, history reason o engineers enjoy the “free style” o so, the sooner the better
  • 15. Critical Infrastructure ● DNS o use IP, not hostname in your code o retry, timeout ● NTP ● Netfilter o disabled by default o conntrack o NAT server
  • 16. Package Management ● Internal repo o sync periodically o GFWed issue :-( ● Really need compile? ● package manager o yum/apt o rpm/dpkg o how we use them ● One package principle o rpm o tgz
  • 17. Code deployment ● Capistrano o Written in Ruby o Deploy any language o Easy to use ● Configuration management o dev use o ops
  • 18. Configuration Management ● 2011 o tens of servers o free to use, mainly shell ● 2012 ~ 2013 o just ME o Puppet is ok, learn some Ruby o tens of modules written by me ● Now o prerequisite  team skill tree  learning curve o Puppet  obsolete in new IDC  complex syntax, slow o Saltstack  easy to pick up  flexible & plain  ansible as backup o Python/ruby scripts, product level
  • 19. Monitoring ● Metrics, Metrics, Metrics!!! ● “All monitoring software evolves towards becoming an implementation of Nagios” http://goo.gl/PvBYky
  • 20. Monitoring(cont.) ● From top to bottom o customer perspective o business level(dau, etc.), critical sensitive o application level(qps, latency, return code, exception) o system level(load, nic, cpu, memory)  fork  swap in/out  nic speed/drops/errors  tcp queue, retransmit o hardware level
  • 21. Monitoring(cont.) ● Ideal o near-real time o flexible, 5s, 60s, 300s, 1800s o comparable by date/time o active/passive or just feed ● Dashboard(core metric) ● Before o Nagios/Munin(out of box) ● Now o Zabbix/Graphite o networkbench, alibench(user end) o New relic ● log o rsyslog o ELK o scripts
  • 22. Tuning ● From app level to system level ● App level, not covered here ● System level, take away for common use ● Don’t forget hardware(BIOS, RAID) ● Baseline comes first ● One modification one time ● Never over-optimized o “it works”, then “it runs happily” o business driven
  • 23. Tuning(cont.) ● Don’t modify kernel parameter unless 100% sure o timestamp issue o ecn issue ● Tcp related ● Ring buffer, interrupts, open files, etc. ● DB, watch out
  • 24. Documentation ● Routine o regular deploy & setup, weekly report o online standard, 100+ slides for engineer o ops share every Thu ● Post-Mortem o blameless o timeline & deadline ● Github Wiki & Google Docs
  • 25. Outage & Diagnose ● This year(2014) o SLA 99% ~ 99.9% o issues every week, mostly invisible to customers ● When site is down o from bottom to top, vice-versa o good bug can reproduce o tools are key power  system http://goo.gl/wrNLi7  app o inform support & bd o technical background share(http://blog.umeng.com/?cat=4) ● Network is a unreliable, and it can breakdown
  • 26. Security ● IP issue, long long history o public & private ip o port restricted, listen() o oob ● test IDC ● UDP amplification ● Bash, SSL vulnerability ● DDoS ● whitehat(WooYun, etc.) http://goo.gl/Q1SkXV
  • 27. With Dev ● Tradeoff o less dev’s work usually means more reliable system o there will always be conflicts between ops & dev  unless one of them gives in  aggressive or mild, choose one ● Understand business logic o code talks o data talks http://goo.gl/Qwh6Ze
  • 28. What We Are Doing Now ● New IDCs, New beginning, Great challenge o active - backup o active - active ● Transfer data from BJ to SH ● Env setup, stress test, benchmark ● Finally, switchover http://goo.gl/TMDnnS
  • 29. What We Are Doing Now(cont.) ● Private Cloud o capex & opex o resource(hardware, software) o workforce

Editor's Notes

  1. push product, fast growth mentor other team member, help to debug
  2. out of control often 2011 10 am event trigger 10:30 pm, peak period just like nice app, I attend their cto’s speech at archsummit ~6B/d dau m & a by alibaba: idc migrate, and the related proj 7 eng, 4 pe, 1 network eng, 1 it, 1 director part time IT before 2012, cross wall startup road almost the same 2011, 2012 not hot from 2013, hot growth fast, now, a is smaller, but v is still large Q4, 2013 dau 2B Q4, 2014 dau 6B, 300% zhihu daily report 3m(andriod), 2m installation 1m, 1.5m launch
  3. IDC ~ outage/m, active - active is a must bandwidth limited
  4. 3 gen 1: 2011, simple 2: 2012, fast 3: Q2, 2014 752, Q1 ~ Q2, 2014, many challenge, via my blog, finally, works mulit uplink incoming > outcoming, different from the trad web
  5. server: so many type, operational problems 10 nic lvs nat server all db shipped with ssd power must dual, often power outage few vms running first xen, network problems run lvs on xen, wtf
  6. thunder from ruby 2 scala sdk resend problem sdk envelope, etc. kafka mirror, 600Mbps
  7. scp data from finagle, not stable then kafka mirror, quite well hbase buggy mongo reshard, acceptable, stable front end, new relic, code level call
  8. no fancy technology github, redhat wonderful, have a try jiankongbao, jidiao redhat, nice doc, vmcore analytics
  9. all raid10, no reason, just for easy management
  10. analysis vmcore
  11. dns is not reliable, even in alibaba, for hadoop, hosts but hosts is not easy to mantain
  12. puppet, dsl salt, so young, community active, but less ordered, google sometimes not work
  13. almost outage due to lack of metrics
  14. 1.5K nvps kids, redis sharding oss better than umeng
  15. the items refer above must tuned for high load node networking is critical, tcp retransmit, overflow oc, tons of small packet, 100B pkg size begins to drop, 200kpps/s disk, hadoop, noatime, ext3 not ext4
  16. 4xx: ~ 0.4% mobile network is different 5xx: ~ 0.005% no 3xx kernel panic for switch 208.5d panic results are stupid
  17. idrac hacked db connected without auth from public weak passwd ddos affect us, actually the same uplink
  18. instagram already migrate from aws to facebook’s idc, spend 1 year to prepare for us, tens of problems to solve
  19. push, typical case thunder, some app(wannianli), 10am, traffic spike resend control