当前位置:网站首页>AUTOSAR从入门到精通100讲(106)-域控制器中的SOA
AUTOSAR从入门到精通100讲(106)-域控制器中的SOA
2022-07-04 09:35:00 【格图洛书】
01原子服务
说到服务架构,关于原子服务的话题非常火,那么,什么是原子服务?原子服务有哪些特征?在系统层面如何拆分业务服务并且定义原子服务?原子服务对我们的软件又有什么影响呢?他和服务的关系又是什么呢?
我们先从服务的最小单元——原子服务讲起。原子服务的定义是:业务上最小粒度的一系列操作。原子服务的特点是松耦合,相对独立,且在可预见的范围内不会对其他原子服务造成影响。任何一项都划定了自己的业务范围;他们不用关心非自己业务范围是如何实现,对于调用其他原子服务,只需要考虑调用场景及返回结果如何处理即可。
举一个例子,先看看下面三句话:
现金存款是金融账户发生现金交易的收费服务行为。
信用卡还款是金融账户发生的,可能有银联参与的、信用卡的现金交易。
现金转账是金融账户与交易对手金融账户发生现金交易的收费服务行为。
这三句话中的,现金存款、信用卡还款和现金转账就是服务,现金交易就是原子服务,而金融账户、银联卡和信用卡则是服务的业务参与方,也是大家熟知的服务消费者和提供方。
通过这个例子,大家应该对原子服务已经有了一个基本的概念。那么,服务是由原子服务构成的,SOA是不是只是简单地由服务构成的呢?
边栏推荐
- ASP. Net to access directory files outside the project website
- 华为联机对战如何提升玩家匹配成功几率
- Global and Chinese market of sampler 2022-2028: Research Report on technology, participants, trends, market size and share
- 智慧路灯杆水库区安全监测应用
- Kubernetes CNI 插件之Fabric
- Explanation of for loop in golang
- C语言指针经典面试题——第一弹
- Global and Chinese markets of hemoglobin analyzers in care points 2022-2028: Research Report on technology, participants, trends, market size and share
- Hands on deep learning (34) -- sequence model
- 智能网关助力提高工业数据采集和利用
猜你喜欢

C # use gdi+ to add text to the picture and make the text adaptive to the rectangular area

Four common methods of copying object attributes (summarize the highest efficiency)

Hands on deep learning (38) -- realize RNN from scratch

直方图均衡化

Advanced technology management - how to design and follow up the performance of students at different levels

IIS configure FTP website

法向量点云旋转

How can Huawei online match improve the success rate of player matching

Latex download installation record

SSM online examination system source code, database using mysql, online examination system, fully functional, randomly generated question bank, supporting a variety of question types, students, teache
随机推荐
Pueue data migration from '0.4.0' to '0.5.0' versions
Golang type comparison
Hands on deep learning (33) -- style transfer
Global and Chinese market of air fryer 2022-2028: Research Report on technology, participants, trends, market size and share
How does idea withdraw code from remote push
【leetcode】540. A single element in an ordered array
Implementing expired localstorage cache with lazy deletion and scheduled deletion
2022-2028 global gasket metal plate heat exchanger industry research and trend analysis report
Log cannot be recorded after log4net is deployed to the server
Ultimate bug finding method - two points
Golang Modules
Write a mobile date selector component by yourself
The child container margin top acts on the parent container
2022-2028 global optical transparency industry research and trend analysis report
Global and Chinese market of planar waveguide optical splitter 2022-2028: Research Report on technology, participants, trends, market size and share
华为联机对战如何提升玩家匹配成功几率
Trees and graphs (traversal)
MySQL foundation 02 - installing MySQL in non docker version
Kotlin:集合使用
Golang 类型比较