欢迎来到天天文库
浏览记录
ID:34973419
大小:2.43 MB
页数:24页
时间:2019-03-15
《Composite Containers for Modular Architectures.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、TheDistributedSystemToolkitCompositeContainersforModularArchitecturesBrendanBurns-GoogleCloudPlatform@brendandburnshttps://www.flickr.com/photos/greeblie/2224507899ModularContainerDesign“Goodfencesmakegoodneighbors”-RobertFrostAQuickLook@YourCode&YourCodeCommunitySha
2、reUseKeepContributeQuickLook@YourClusterYourNextApp.DesignDon’tthinkofacontainerastheboundaryofyourapplicationAcontainerismorelikeaclassinanobjectorientedlanguage.Benefits...Buildapplicationsmorequickly●Re-useexistingcontainersinmoreplaces●Buildthingsthatareeasytouse
3、●ContainerboundariesarenaturalboundariesforteamsBenefits...Buildapplicationsmorereliably●Leverageexpertknowledgeeverywhere●Onlymakemistakesonce●OnlyupdatethebitsthatneedupdatingModularContainerDesign●Separateconcerns(e.g.“webserver”,“gitsyncher”)●Buildconsistentexper
4、iences●AvoidNIHRequirements...Sharingbetweencontainers●Sharenamespaces(esp.PID,NetworkandIPC)●SharefilesystemsRequirements...Co-schedulingofcontainers●Compositionrequiresco-locationRequirements...Parameterizationofcontainers●Configurableatruntime●Documentedanddiscove
5、rablePatterns...●Don’tdesigninavacuum!●Don’tthinkthatyouarespecial!●Dosharebestpracticesandideas!SidecarsSidecarsextendandenhanceApplicationContainerSidecarContainerGitnode.jsSynchronizerCompositeContainerApplicationSidecarPatternSidecarsextendandenhanceApplicationCo
6、ntainerSidecarContainerGitnginxSynchronizerCompositeContainerApplicationAmbassadorPatternAmbassadorsrepresentandpresentApplicationContainerAmbassadorContainerPHPapptwemproxyMemcacheShardslocalhostCompositeContainerApplicationAdapterPatternAdaptersnormalizeandabstract
7、MonitoringApplicationContainerAdapterContainerSystemredisredisexporterOtheradapterslocalhostCompositeContainerApplicationDemoFromLegostoStarshipsReplicationMicro-ServiceLoadBalancerConsistent,DiscoverableNameCompleteApplication“Frontend”NodeJSTemplate“Cassandra”Cassa
8、ndraTemplateThankyouBrendanBurns#google-containers-@brendandburns-bburns[at]google.comgithub.com/GoogleCloudPlatform/kubernetes
此文档下载收益归作者所有