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学习手册
简介
15
Dapr Sentry
Dapr Sentry
是用于证书颁发和管理的内置证书颁发机构(
CA
)。
构件:状态存储
Dapr
actor
的状态和有状态服务的状态保存到可配置的状态存储中。
Redis
是默认的本地状态存储,但是也可以在
Dapr
中接入其他存储(包括
集群存储)。来自社区贡献的状态存储支持越来越多,其中包括了
Azure
Cosmos DB
Cassandra
etcd
Firestore
Memcached
MongoDB
ZooKeeper
以及更多。有关如何定义和配置自定义状态存储的详细信息,
请参见第
2
章。
构件:发布
/
订阅
默认情况下,
Dapr
提供至少一次(
at-least-once
)的消息传递语义,并将
Redis Streams
https://oreil.ly/7-rl3
)作为可靠消息的消息骨干。有关消
息传递以及如何自定义消息传递行为的详细信息,请参见第
3
章。
构件:绑定
Dapr
使用绑定把应用程序的代码连接到不同的输入输出通道。它定义了
一个非常简单的绑定接口,并以单线程方式调用此接口。这种设计使编写
新的绑定成为一项相对容易的任务,通常几个小时即可完成。
构件:可观察性
Dapr
集成了
OpenTelemetry
,一组用于收集应用程序指标和分布式跟踪的
开源库。有关如何配置分布式跟踪以及如何收集应用程序指标的详细信息,
请参见第
1
章。
你几乎已经准备好体验
Dapr
了。以下部分的入门示例使用了原始的
HTTP/
gRPC
接口,但我们也提供了一些特定于语言的体验,如下所述。 ...
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