当前位置:首页 > 报告详情

2793 - 告别微服务迎接自包含系统.pdf

上传人: 竿*** 编号:982942 2025-11-29 32页 2.23MB

1、Simon MartinelliSession:2793Goodbye Microservices,Hello Self-Contained SystemsAbout Me 30 years of Software Engineering Java for 25 years Self-employed since 2009 University teacher for 18 years JUG Switzerland,Location BernThe Evolution of ArchitectureUntil 19992000-20102011-Are These the Same Thin

2、g?7Its All About ModularityModuleA self-contained componentof a system,often interchangeable,which has a well-defined interfaceto the other components.Source:https:/en.wiktionary.org/wiki/module81972The effectiveness of a modularization is dependent upon the criteria used in dividing the system into

3、 modules.On the criteria to be used in decomposing systems into modules-David L.ParnasPublished in Communications of the ACM Volume 15 Issue 12,Dec.1972Does Size Matter?The term MICRO is misleading Scope matters Bounded Contexts Design for Maintenance 3 to 10 developers per Microservice during proje

4、ct development But how many developers will maintain the system?10Modularity and Distribution11DistributionModularityModular monolithMonolithic big ball of mudDistributed big ball of mudMicroservicesDistributed Big Ball of Mud If you cant build a modular monolith,what makes you think microservices a

5、re the answer?-Simon Brown12CustomerOrderCatalogDistribution and Communciation First Law of Distributed Object Design:Dont distribute your objects-Martin Fowler13SynchronousAsynchronousEvent basedBeware of the N+1 Select Problem Use Case:Select all orders of certain customers1.1 request to get all c

6、ustomers2.n requests to get orders of customer14CustomerOrderClient11.nAnti-PatternsDatabase BBackend DDatabase DFrontend BFrontend CBackend BBackend CMonolithic frontendIntegration DatabaseSelf-Contained Systems Architecturehttps:/scs-architecture.orgThe content in this section is licensed under th

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
根据报告的内容,全文主要内容概括如下: 1. **架构演变**:从1999年前的单体架构到2000年代的微服务架构,再到2011年后的自包含系统(SCS)。 2. **模块化的重要性**:模块是系统中的自包含组件,具有明确的接口,其有效性取决于划分系统的标准。 3. **微服务的局限性**:微服务可能不是最佳选择,因为它们可能导致分布式大泥球(Distributed Big Ball of Mud)。 4. **自包含系统(SCS)**:SCS是独立、协作的系统,每个系统包含自己的用户界面、业务逻辑和数据库。 5. **SCS的特点**:包含自己的数据存储,可能包含API,独立且松散耦合。 6. **SCS的优势**:具有弹性、可扩展性、易于集成和独立,支持持续现代化。 7. **SCS与微服务的比较**:SCS规模和范围更大,更独立,而微服务更关注单一业务功能。 8. **SCS的集成**:通过Web界面异步集成,以减少耦合。 9. **案例研究**:通过一个批发ERP系统的现代化案例,展示了SCS架构的优势。 核心数据: - 3到10名开发者在一个微服务项目开发期间。 - SCS可以独立部署,可能需要编排以处理依赖关系。
告别微服务,拥抱自包含系统?" "微服务过时了?自包含系统如何重塑架构?" 架构演变中的关键抉择!"
客服
商务合作
小程序
服务号
折叠