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学习手册
7
0
简介
这些年来,出现了许多分布式编程模型和框架,例如通用对象请求代理架构
CORBA
)、微软分布式组件对象模型(
DCOM
)、
COM+
Java
远程方法
用(
RMI
)、
Akka
Microsoft Service Fabric actor
等。
本书介绍了我们的贡献,
即分布式应用程序运行时框架(
Dapr
)。到目前为止,该贡献得到了社区广
泛的接受。
Dapr
是一个正在积极开发的全新分布式运行时。
获取最新信息
的最佳方法是访问
Dapr
的官方网站(
https://dapr.io
)。
本书的重点不是提供
API
详细信息,而是提供有关
Dapr
的设计方式,以及我们如何看待其未来发
展的背景信息。
我们希望本书能够帮助你理解
Dapr
的体系结构和设计理念,
以便你可以更好地将
Dapr
应用到自己的应用程序上,并为
Dapr
社区做出巨
大贡献。
0.1
什么是
Dapr
Dapr
是事件驱动的、可移植的运行时,用于构建云和边缘(
edge
)上的微服务。
它通过伴侣容器或伴侣进程来交付分布式应用程序所需的构件,包括状态管
理、服务发现、可靠消息传递、可观察性等,这将在后面详细讨论。
Dapr
侣进程或边车通过
HTTP/gRPC
协议暴露出标准的
API
。这使得
Dapr
可以适
配任何支持
HTTP
gRPC
的编程语言,而无需将任何库的
SDK
包含在应用
8
0
程序的代码中。
Dapr
边车相互连接并为分布式应用程序形成了隔离的、分布
式的运行时,如图
0-1
所示。
应用代码 ...
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