Skip to Content
Dapr学习手册
book

Dapr学习手册

by Haishi Bai, Yaron Schneider
November 2021
Beginner to intermediate
239 pages
4h 15m
Chinese
China Electric Power Press Ltd.
Content preview from Dapr学习手册
200
6
OAM
应用模型由一个兼容
OAM
的控制平面来管理。在
Kubernetes
上,
OAM
应用模型通常由对应
operator
管理的几个自定义资源组成。
Dapr
可以
很好的与此类控制平面一起工作,因为后者通常都支持
Kubernetes pod
注解
或者类似的机制。有关支持
Dapr
的更多细节,请参阅你所选择的控制平面的
文档。
在收尾本章的这一部分之前,我们来看一个经常被问到的问题。
6.3.5 Dapr
和服务网格
我们经常会被问到
Dapr
和现有的服务网格解决方案(例如,
Istio
Linkerd
或者
Consul
)之间有什么区别。
Dapr
和服务网格确实有一些相似之处。因为它们都使用边车架构,而边车最
初是由服务网格普及的,所以许多人对
Dapr
的第一反应就是这是否是另一个
服务网格的竞争者。另外,随着
Dapr
的发展,
Dapr
也开始提供与网络更相
关但同时仍然是应用关注的功能,例如,
TLS
双向认证。
Dapr
与服务网格最主要的区别在于它们工作在不同的层次上。服务网格管理
服务之间的网络流量,因此它们是工作在基础设施层的。另外,
Dapr
为应用
提供了常见的构建模块,例如应用的状态管理,因此
Dapr
是工作在应用层的。
“网络网格”可能会是服务网格更好的名字,然后我们就可以将
Dapr
称之为
服务网格了。但是,由于“服务网格”的名字已经被用了,因此有的时候我
们将
Dapr
称之为”应用网格”,以便与服务网格技术区别开。
由于
Dapr
工作在不同的层上,解决的是完全不同的问题域, ...
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

流畅的Python(第2版)

流畅的Python(第2版)

Luciano Ramalho
数据科学原理

数据科学原理

Posts & Telecom Press, Sinan Ozdemir
Python预测分析实战

Python预测分析实战

Posts & Telecom Press, Alvaro Fuentes
机器学习开发者指南

机器学习开发者指南

Posts & Telecom Press, Rodolfo Bonnin

Publisher Resources

ISBN: 9787519859367