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学习手册
32
0
{ msg: 'Hello, World! 2' }
{ msg: 'Hello, World! 3' }
{ msg: 'Hello, World! 4' }
{ msg: 'Hello, World! 5' }
{ msg: 'Hello, World! 6' }
现在你知道了如何通过
HTTP
协议使用
Dapr
边车。
在下一部分中,你将学
习如何使用
gRPC
协议。如果你对使用
gRPC
不感兴趣,则可以跳过以下这
一部分。
0.4
使用
gRPC
gRPC
Google
开发的开源的远程过程调用(
RPC
)系统。
它使用
Protocol
Buffers
Protobuf
)(同样由
Google
开发的一种高效数据序列化机制)作为
接口描述语言(
IDL
)和数据序列化方法。
与其他
RPC
系统一样,
gRPC
户端通过
gRPC
存根(可以使用
gRPC
工具自动生成)与
gRPC
服务器进行
通信。
关于
gRPC
的详细介绍不在本书的讨论范围之内。
有关更多详细信息,请参
https://grpc.io
gRPC
使用
HTTP/2
作为通信协议。该版本具有数种优于
HTTP/1.1
的性能优
势,包括诸如避免在单个页面上对资源的多个请求的主动数据推送,通过单
TCP
连接复用多个请求,
HTTP
头部数据压缩以及请求流水线等功能。
自推出以来,
gRPC
Web
服务和微服务社区中获得了极大的普及。
Dapr
不例外:它使用
gRPC
进行
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