• 8.57 MB
  • 24页

Go在持续交付中的实践

  • 24页
  • 当前文档由用户上传发布,收益归属用户
  1. 1、本文档共5页,可阅读全部内容。
  2. 2、本文档内容版权归属内容提供方,所产生的收益全部归内容提供方所有。如果您对本文有版权争议,可选择认领,认领后既往收益都归您。
  3. 3、本文档由用户上传,本站不保证质量和数量令人满意,可能有诸多瑕疵,付费之前,请仔细先通过免费阅读内容等途径辨别内容交易风险。如存在严重挂羊头卖狗肉之情形,可联系本站下载客服投诉处理。
  4. 文档侵权举报电话:19940600175。
MicroServiceandContinuousDelivery 郭峰@DaoCloud Let’s Imagine that you are build an online store OrderCustomerItem PaymentDashboardCartReportRecommendMonitoringCommentsSupply IntimidateDevelopers ObstacletoFrequentDevelopment •Needtoredeployeverythingforanewfeature •Interruptslongrunningbackgroundjobs •Increasingriskoffailure •Updateswillhappenlessoften–reallylongQAcycles OverloadsYourIDEandContainer Slowdowntheloop Requirelong-termcommitmenttoatechstack Smaller,simplerapps •Easytounderstandanddevelop •Lessdependences •Fastertobuildanddeploy •Even,Failurefaster BestTechnologyforEachService CdudknoCdoknxRb`kd ThereareDrawbacks ComplexitiesonCdudknoSdrs@ChrsqhatsdcRxrsdlCdoknx AutomationisImplicit ContinuousIntegration ContinuousIntegrationtoContinuousDelivery ContinuousDelivery?ContinuousDiverse! That’sAll? I’m handing >ckets for running apps! •Node.js•Python •Ruby •Golang•Java •PHP •…  Duang,Duang… “Works for me” “Can’t you reproduce” “Upgrade to 1.2.5‐xx” “I would appreciate if you could test b/w 3 and 4 am” “So to trigger the bug you have to install X and Y then configure A, B and C, then download the extra file, put it in this directory.  HowDockerHelps Docker&MicroService Develop simplest possible solu>on  Configura>on is a run>me constraint  DevNot extra‐extra‐complex applica>on new WebServer().start(8080);Manage hardware / infrastructure  OpsMonitoring / backups Not appsimplementa>ondetails UnifiedIntegration ReproducibleDelivery DockerizedApps TheLandscapewithContainers Q&A