gRPC on Web - Lessons & Roadmap | Wenbo Zhu & Eryu Xia, Google | KubeCon 2023

  Рет қаралды 2,835

gRPC

gRPC

Күн бұрын

Пікірлер: 8
@ordinarygg
@ordinarygg 8 ай бұрын
if you use gRPC, why do you use it instead of raw TCP packets with binary data and then deserialise? what's the benefit?
@srikanthkandarp
@srikanthkandarp Ай бұрын
gRPC is an application level Protocol and TCP is a network layer protocol. Hence anything that goes to Network layer requires data to be in bytes hence serialization and deserialization.
@ordinarygg
@ordinarygg Ай бұрын
@@srikanthkandarp you are right, basically it's just ser-ze-de-ze layer, does it broke if you change schema on server and client starts receiving different data?
@srikanthkandarp
@srikanthkandarp Ай бұрын
@@ordinarygg Yeah, at the application layer, the gRPC protocol ensures pre-flight checks for the type of RPC (the method that the client is going to call), then checks with the server to verify if the schema is correct, and responds accordingly based on the request and response schema.
@ordinarygg
@ordinarygg Ай бұрын
@@srikanthkandarp ouch, so to change or add new field that mobile app for example will use with v1 (no new field) and v2 (new field), you need to force update user app, and canary deployment of containers also blocked. What the benefits then? speed?
@jinushaun
@jinushaun Ай бұрын
@@ordinarygg Benefit: It's not JSON or XML. But yes, adding new fields or deprecating old fields is a pain in gRPC. In practice, everyone just ends up making all fields optional and the client has to check if a specific field it need exists, and ignore fields it no longer uses.
@vigneshwaranrenganathan7743
@vigneshwaranrenganathan7743 8 ай бұрын
can we expect support for Rust in future?
@srikanthkandarp
@srikanthkandarp Ай бұрын
the support for rust exists through tonic.
Where should you use gRPC? And where NOT to use it!
10:57
CodeOpinion
Рет қаралды 86 М.
From Small To Giant 0%🍫 VS 100%🍫 #katebrush #shorts #gummy
00:19
This Game Is Wild...
00:19
MrBeast
Рет қаралды 189 МЛН
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 152 МЛН
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 5 МЛН
gRPC on Web - Lessons & Roadmap - Wenbo Zhu & Eryu Xia, Google
24:41
CNCF [Cloud Native Computing Foundation]
Рет қаралды 1 М.
Tonic makes gRPC in Rust stupidly simple
19:08
Dreams of Code
Рет қаралды 52 М.
30 Days Of CNCF Projects | Day 1: What is Kyverno + Demo 📄
14:59
The Good Guy
Рет қаралды 2,1 М.
gRPC-Web with .NET
21:01
dotnet
Рет қаралды 22 М.
HTTP 1 Vs HTTP 2 Vs HTTP 3!
7:37
ByteByteGo
Рет қаралды 327 М.
gRPC vs REST - KEY differences and performance TEST
7:02
Jelvix | TECH IN 5 MINUTES
Рет қаралды 29 М.
Frontenders Banned Me from gRPC! How gRPC Gateway Saved My Golang Application
17:50
Snowflake
1:17:52
Jignesh Patel
Рет қаралды 959
tRPC: It’s Nothing Like gRPC
6:16
Theo - t3․gg
Рет қаралды 46 М.
From Small To Giant 0%🍫 VS 100%🍫 #katebrush #shorts #gummy
00:19