SOA

作者: Wilbur_ | 来源:发表于2022-03-06 14:35 被阅读0次

Monolith vs micro

monolith is single code repo

micro has different repo and each repo has its own DB

micro services sounds suspiciously like a distributed system

DDD provides a suitable method for identifying microservices

- Bounded Contexts in DDD 

Read DDD and Microservice by Eric Evans

Small Autonomous services that work together, modelled around a business domain

                                        - Sam Newman

果然想要深刻理解还是要给出清晰的定义,自己的定义

Principle of Microservices

  • Modelled Around business domain
  • Culture of Automation
  • hide implementation Details
  • Decentralise all The Things
  • Deploy Independently
  • Consumer First
  • Isolate Failure
  • Highly Observable

Culture of Automation

  • Infrastructure Automation
  • Automated Testing
  • Continuous Delivery

Hide implementation Details

Avoid two services sharing same DB (tight coupling between different services)

keep message queue dumb

这个点跟 network 也很像,因为 edge network 是主要的smart implementation, 也是主要fast iteration 的节点,而core network 只是负责传输数据。 这点其实思想跟 network 是一样的

Consumer-Driven Contract

test upstream service to avoid end-end test
这样你test 如果出错你就知道你新的 code 就会 break upstream service

相关文章

  • SOA

    SOA SOA Reference Model;Service Roles

  • soa架构基础

    什么是soa soa,即service-oriented architecture,面向服务的体系架构。soa是一...

  • 对SOA架构和Spring Cloud的思考?

    单体架构-->SOA架构 服务化架构,也可以称之为SOA架构。 SOA架构 --> 变迁到 微服务架构 ESB企...

  • Web Service介绍

    SOA(Service Oriented Architecture):面向服务的架构(SOA, Service O...

  • 什么是SOA服务架构?

    SOA SOA是Service Oriented Architecture的缩写,面向服务架构。Bezos(亚马逊...

  • soa

    中文名 面向服务的体系结构 外文名 Service-Oriented Architecture 面向服...

  • SOA

    SOA,一个神秘而抽象的IT概念。Service-Oriented Architecture,面向服务,看起来很简...

  • SOA

    SOA(Service Oriented Architecture)面向服务的架构详细的比较宽泛的定义可以见上面的...

  • soa

    8000 字 + 21 张图,服务端高并发分布式架构 14 次演进之路 Dubbo:一个优秀的 RPC SOA 框...

  • SOA

    Monolith vs micro monolith is single code repo micro has ...

网友评论

      本文标题:SOA

      本文链接:https://www.haomeiwen.com/subject/ohfwrrtx.html