Skip to Content
微服务与事件驱动架构
book

微服务与事件驱动架构

by Adam Bellemare
October 2021
Beginner to intermediate
250 pages
7h 11m
Chinese
Posts & Telecom Press
Content preview from 微服务与事件驱动架构
182
13
另外,组合服务中的编辑部分不需要处理面向公众的问题(比如图像、品牌和安全性)。
它主要关注:
审批总体布局、设计和流程;
评估广告主的
总体
响应(不是每个个体的响应);
为报纸设计人员提供关于如何处理广告客户驳回的建议。
新的微服务分层模型如图
13-13
所示。
报纸填充器
GUI
报纸填充器
微服务
编辑
审批流
编辑审批
GUI
审批微服务
审批微服务
广告客户
审批汇总流
编辑已审
批报纸流
广告客户审批
GUI
已审批
报纸流
已填充
报纸流
1) 候选报纸
5) 发布获
批准的报纸
4) 编辑审批
2) 传播编辑
已审批的报纸
3) 广告客
户审批
13-13:独立的广告客户审批和编辑审批服务
两个
新的事件流要考虑。第一个在步骤
2)
,即编辑已审批报纸流。此流的格式与已填
充报纸流的格式相同,但此事件仅在编辑对整个报纸感到满意并发布给广告客户审批后
生成。
已填充报纸流是所有
候选
报纸的单一事实来源。编辑已审批报纸流
只是已批
准给广告客户检查的报纸
的单一事实来源,它们是由编辑系统逻辑过滤出来
的。这两个事件流有不同的业务含义。
这种设计的一个主要优点是,所有编辑要处理的逻辑都完全位于编辑审批服务中。请注
意,对已填充报纸流的更新不会自动转发,而是依赖于编辑审批后发布。同一份报纸的多
个版本(
pn_key
)完全包含在编辑服务中。这种安排允许编辑控制要发送哪些版本进行审
批,同时控制所有进一步的修订,直到满足了最初的广告客户的反馈为止。
第二个新的事件流在步骤
3)
,即广告客户审批汇总流
。它包含来自广告客户审批服务的汇
总结果,可以提供报纸相关各方反馈的历史记录以及当前状态。请记住 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

监控运维实践:原则与策略

监控运维实践:原则与策略

Mike Julian
Kafka权威指南

Kafka权威指南

Neha Narkhede, Gwen Shapira, Todd Palino
Web容量规划之美

Web容量规划之美

Arun Kejariwal, John Allspaw

Publisher Resources

ISBN: 9787115571106