资源预览内容
第1页 / 共33页
第2页 / 共33页
第3页 / 共33页
第4页 / 共33页
第5页 / 共33页
第6页 / 共33页
第7页 / 共33页
第8页 / 共33页
第9页 / 共33页
第10页 / 共33页
亲,该文档总共33页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
+豆瓣广告系统持续发布相关的实践+040 SHow fast we can?2+agendan产品背景基本介绍n从测试出发,持续集成n持续集成运用于开发周期各阶段n持续发布相关实践3+产品概要n豆瓣广告系统n内容n文本广告n音频n视频n平台nWebnApp4+技术背景n广告投放系统n投放策略系统n投放引擎n监控系统5+Development Environment initnLong doc for env initfab dev.initfab dev.gen_config:Ref http:/tinyurl.com/mcnqdua6+Fab as tasks tool7+Remote import packagenbitbucket.orgngithub.comncode.google.comRef: http:/golang.org/src/cmd/go/help.goRemote import目目录录中的中的package8+OuT OF CoNTRoLRef http:/book.douban.com/subject/1483021/9+Package by reversion10+初涉CI,从测试出发nGo LangnFab as tasks toolnRemote import package by reversionnCI for masterngo2xunit11+CI for MasterGUITestsUnitTestAPITests12+Configuration management13+Subversion Feature BranchTest for BranchRef http:/dou.bz/39qbOT14+CI for SVN branchnCreate continuous build job for branch updatenPublish failed build result to developer15+Github (Pull Request) flownMaster branch is deployablenCreate a descriptively named branch off of masternCommit to that branch locally and push to the servernWhen you need feedback or help, or branch is ready for merging, open a pull requestnAfter reviewed and signed off on the feature, merge it into masternAfter merged, deploy immediatelyref: http:/scottchacon.com/2011/08/31/github-flow.html16+CI for github flow171819Continuous DeploymentFrom Continuous Integration to20+dev pre online环境的隔离21+MonitorTest & BuildDeployPreReleasePush DataPre releaseAfter merged22Pre-release: traffic, trafficNn%NN:与主站的pre-release联动nn%Nn:tcpcopy 流量复制N:手工检查页面n%https:/github.com/wangbin579/tcpcopy23+mergeBuildTestPre-releasereleaseDeploy Flow24+Binary filenOnly one filenVersion as filenamenKeep old files25+DeploymentnSingle NodenClusternAll server+5 %Single Node27+Cluster40 %28+100 %All Servers29+Configuration servicenCluster Configuration Files in gitnPull Request nPush Configuration to clusternNotificationVia http:/tinyurl.com/ncbfazn30+MonitoringnGraphnQPSnERRORnAll in onenLOGnREPORTnDUTYnNotification31+Summaryn补充测试n持续集成nMasternbranchn自动部署预发布和线上环境n模拟了访问量n配置和数据推送n监控作为反馈32+Q&A
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号