Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

字面理解 #3

Open
xuyisu opened this issue Apr 10, 2020 · 0 comments
Open

字面理解 #3

xuyisu opened this issue Apr 10, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@xuyisu
Copy link
Owner

xuyisu commented Apr 10, 2020

问:
业务服务提供者和业务服务使用者的松散耦合关系及对开放标准的采用确保了该特性的实现。建立在以SOA基础_上的信息系统,当需求发生变化的时候,不需要修改提供业务服务的,只需要调整业务服务流程或者修改操作即可,整个应用系统维护也简单了。 如何理解?
答:
可以这么理解,提供者和消费者解耦了,消费者的需求变化只需要修改消费者,提供者不会因此消费者的需求变更而变化。这一点在为服务中也是一样的
比如说商品服务购买商品后,需要调扣库存服务扣库存,需求说商品下单后给用户发一条邮件或短信通知,再调扣库存服务扣库存, 那只需要在商品服务修改逻辑即可,不影响库存服务的。 影响面不像单体这么大。 比如我修改商品服务的时候这段时间,商品服务不可用,但是我的登录和库存还是可以继续提供服务的。保证了网站不会完全不可用

@xuyisu xuyisu added the enhancement New feature or request label Apr 10, 2020
@xuyisu xuyisu closed this as completed Apr 10, 2020
@xuyisu xuyisu reopened this Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant