Skip to Content
流架构
book

流架构

by James Urquhart
November 2022
Intermediate to advanced
276 pages
3h 51m
Chinese
China Electric Power Press Ltd.
Content preview from 流架构
88
3
点是,源数据和接收器数据在发布到主题或受到该主题到被使用之前,都可
能需要某种形式的处理。出于这个原因,队列只向处理器作出承诺。因为队
列不能代表提供流交互所需的处理器做出承诺,所以它没有直接向生产者或
消费者做出承诺。
类似地但可能更具争议的是,接口只向处理器承诺发布和订阅事件的机制。
大多数队列产品都有发布和订阅接口(例如
NAT
Kafka
RabbitMQ
),那
么为什么不能对队列也做出这样的承诺呢?我的观点是,这些相同的产品提
供了一些内置处理来获取排队数据,并为流交互创建适当的事件协议,因此
总是涉及到处理器。然而,如果你对这个决定感到不舒服,我可以理解,并
欢迎你尝试构建另一种承诺模型。
3.3.5
最后一块
我们几乎完成了我们的地图,但我还想再添加一个元素,这是上面列出的许
多组件中都需要的。这一要素是基础设施,使上述服务和技术成为可能所需
的算力、存储和网络组件。
基础设施包括许多不同形式的硬件和软件,包括服务器、存储设备、网络设备、
网络协议、操作系统等。其中物理连接是逻辑连接的必然结果,也包含在该
组件中。其基础设施还包括这些技术所依赖的非计算的内容,如数据中心房
地产、电力、电信提供商等。然而,鉴于我们研究的范围,我认为这些细节
与我们对流集成的评估不太相关。所以,我们将把所有这些东西都整合到一
个元素中,如图
3-14
所示。
我已经确定了一个针对我们价值链中几个组成部分的承诺,即供货量和商品
服务。容量是执行各种计算任务所需的时间和资源,而商品服务是许多流交
互任务所需的共享计算能力,如数据存储、资源编排等。 ...
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

Kafka权威指南(第2版)

Kafka权威指南(第2版)

Gwen Shapira, Todd Palino, Rajini Sivaram, Krit Petty
Python实用技能学习指南

Python实用技能学习指南

Posts & Telecom Press, Robert Smallshire, Austin Bingham

Publisher Resources

ISBN: 9787519869649