Microservices:ArchitectingforContinuousDeliveryandDevOpsLianpingChenIndependentResearcherandConsultantlianping.chen@outlook.comTheworld'slargestpubliconlinebettingandgamingcompany4www.huawei.com•HuaweiConfidential1.Chen,Lianping(2015).“ContinuousDelivery:HugeBenefits,butChallengesToo”.IEEESoftware.32(2):50–54.doi:10.1109/MS.2015.27英文维基百科引用了我对CD的定义Source:LianpingChen,"ContinuousDelivery:HugeBenefits,butChallengesToo,"IEEESoftware,vol.32,2015.BenefitsofCD在世界持续交付领域引用次数最高的一篇文章,Citedby130+otherpapers/books,includingcitationsandendorsementfromworldleadersinthefieldsuchas:软件开发“教父”持续交付作者极限编程TDD创始人精益软件开发作者6www.huawei.com•HuaweiConfidential测试运行时间太长团队规模太大需求粒度太大无法开展充分的本地测试活动没有足够自动化测试保证质量Flakytests架构问题服务部署断业务服务不支持灰度发布无自动回滚工具无灰度发布工具没有足够Monitoring不能自动打服务独立部署包环境不能自动管理部署需要人工干预无可独立部署服务的安装工具CD不通实施CD是一个系统工程服务不支持自动回滚其它……Lackof:ØDeployabilityØModifiabilityØSecurityØLoggabiltyØMonitorabilityØTestabilityØ……Source:LianpingChen,"TowardsArchitectingforContinuousDelivery,"inSoftwareArchitecture(WICSA),2015,12thWorkingIEEE/IFIPConferenceon,2015,pp.131-134.从一个单体大包发布到小粒度微服务独立变更上线BenefitsofMicroservicesParnas,D.L.,Onthecriteriatobeusedindecomposingsystemsintomodules.Commun.ACM,1972.15(12):p.1053-1058.“Despitetheabovebenefits,Microservicesisnotasilverbullet.AdoptingMicroservicesintroducesnewcomplexitiesandchallenges.Withoutproperlymanagingthem,wecaneasilyrunintoanotherproblematicsituation.”–LianpingChen.“Microservices:ArchitectingforContinuousDeliveryandDevOps.”IEEEInternationalConferenceonSoftwareArchitecture.Seattle,USA,2018.NoSilverBulletIncreasednumberofservicesSource:http://www.jamesbowman.me/post/cdlandscape/ContinuousDeliveryToolLandscape.jpegAmicroservicetechnologiestimelineSource:Jamshidi,Pooyan,etal."Microservices:TheJourneySoFarandChall...