Protocol Buffers in gRPC

  Рет қаралды 98,435

Stephane Maarek

Stephane Maarek

Күн бұрын

Пікірлер: 28
@artofsoul7518
@artofsoul7518 9 күн бұрын
Easy to understand and learn... , Thanks for this information.
@yashasmudiyar6054
@yashasmudiyar6054 3 жыл бұрын
Excellent ! Good Learning - Thanks !
@maniaharshil
@maniaharshil 3 жыл бұрын
Woo really great .... Can't wait to use grpc...huge thanks for tutoring
@pbznt
@pbznt 2 жыл бұрын
Hi Stephane, I really like your videos about gRPC. I understand that a service can be both a service, and a client. For example, the purchase service at 7:20 is serving the mobile app stub, but it acts as a stub too. The shipment service is serving the purchase service stub. Following this logic, how could I store data to google cloud firestore from a back end service with a flutter front end? Flutter(Stub) gRPC_Server(Service and stub) Google Cloud Firestore (Service). I ask you this question because I am a beginner in mobile dev and I think that it's not a good idea to query database directly from the front-end code. Separation of concerns. Thank you!
@dicolteja
@dicolteja 5 жыл бұрын
Thanks for great and simply explanation. 👍
@msgarima07
@msgarima07 3 жыл бұрын
great explanation, thanks a lot! :)
@krishnagupta6323
@krishnagupta6323 4 жыл бұрын
Amazing man, thanks, saved a lot of my time by briefing me into this
@Malagon194
@Malagon194 5 жыл бұрын
ayy yoh dude im trying to follow your course on gRPC and I find it pretty hepful but you may want to add some links in between videos to let people know which video to watch next lol.
@StephaneMaarek
@StephaneMaarek 5 жыл бұрын
Hi Luis, these are all video extracts. The full course is here: links.datacumulus.com/grpc-golang-coupon
@joecaruso3756
@joecaruso3756 3 жыл бұрын
The byte comparison of JSON vs Protocol Buffers doesn't make sense. The strings had different content.
@MegaMario0007
@MegaMario0007 3 жыл бұрын
Would gRPC replace things like redis or rabbitmq in service to service communication? Or do they complement each other somehow?
@anhnguyenhoang7142
@anhnguyenhoang7142 4 жыл бұрын
' i get error with Nodejs ' 'protoc' is not recognized as an internal or external command, operable program or batch file. please help me ! thanks so much
@rutger3188
@rutger3188 3 жыл бұрын
Hi Stephane, cool course, very easy to follow! I have two questions tho. - What are the downsides of protocol buffer? - On what literature or other sources is this information based?
@rajeshg3570
@rajeshg3570 2 жыл бұрын
hi, you can find some details around pros and cons of proto buff here - kzbin.info/www/bejne/ameyaGaFo5War6s
@Elzelgator
@Elzelgator 4 жыл бұрын
Hello I believe you can see gRPC messages in side wireshark with HTTP2 Decoding
@saumya1712
@saumya1712 4 жыл бұрын
Really a good learning, thanks Stephane. Could you please answer the following questions: Considering I am only concerned with payload size, then 1) What if I use REST api with binary data format to overcome payload size? 2) Which protocol is being used by RPC in general, and how it reduces the network overhead.
@rayhuang8275
@rayhuang8275 4 жыл бұрын
1) If a REST API uses binary data for transmission, it would be very difficult to support crossing platform and language, just like you need to create a standard on your own. Even it is doable, it definitely requires clients to spend more time integrating the API. 2) gRPC is based on http/2, you could check the improvement comparing to http 1.
@pawankumarmeena6737
@pawankumarmeena6737 4 жыл бұрын
Thanks
@mitos95176
@mitos95176 5 жыл бұрын
Why do you think the Protocol Buffer is not more widespread considering the advantages it has over JSON and do you predict that it will overcome JSON in popularity any time soon?
@codelucky
@codelucky 5 жыл бұрын
Do you think gRPC will take over GraphQL?
@StephaneMaarek
@StephaneMaarek 5 жыл бұрын
because it's a binary format and humans for now have to do extra steps to read the content. JSON is text format and easy to reason about
@andy_lamax
@andy_lamax 4 жыл бұрын
@@codelucky From the technical stand point, I think yes gRPC will take over GraphQL. But something kinda tells me that GraphQL can evolve support gRPC (If it currently doens't support it yet). If not, the I think one can use both GraphQL and gRPC to reap benefits from both
@JimstrVids
@JimstrVids 6 ай бұрын
4 years later and still basically nobody uses grpc outside of seriously data intensive scenarios where nanoseconds matter. The additional grpc skill curve to make something marginally smaller isn’t practical for a lot of applications, nor are microservices. The dev world outside of tooling is still run by companies that for the most part have 1-3 base languages and a regular rest API does the job well enough. The customer is king in a lot of scenarios and the time it takes for them to get what they want is such that improving it by even 100% will often not change their mind. That’s my admittedly negative take anyway
@AlexanderShelestov
@AlexanderShelestov 4 жыл бұрын
It's cool, except those things when protobuf doesn't have required feilds, set its own defaults, and doesn't allow to check if the value was really set: > Note that for scalar message fields, once a message is parsed there's no way of telling whether a field was explicitly set to the default value (for example whether a boolean was set to false) or just not set at all It produces a mess and we can't trust the incoming data. When in JSONrpc, for example, we don't have such problems. The bandwith economy (does it really a bottleneck? like, really?) costs too much this way.
@JimstrVids
@JimstrVids 6 ай бұрын
I don’t really get it. A regular api can do all of this, and as long as clients and servers use json, it’s the same thing but a little slower. You say “any language can use this” but they can basically all use json as well, so that’s not really a benefit of grpc. Neither is how easy it is to implement. In fact we’re trading an improvement in speed for slowed development because while json is easy and inherit it knowledge of most devs, each team in your example, the delivery service, the buying service, the pricing service etc now needs to know grpc
@JimstrVids
@JimstrVids 6 ай бұрын
And to boot, Amazon and Microsoft have both announced a path that diverts from micro services. Sure it’s popular and cool, but as far as practicality, who wants 10 micro services running instead of a single app?
Protocol Buffers Crash Course
36:07
Hussein Nasser
Рет қаралды 255 М.
Intro to gRPC in C# - How To Get Started,
1:04:00
IAmTimCorey
Рет қаралды 239 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
gRPC Introduction
8:18
Stephane Maarek
Рет қаралды 299 М.
Event-Driven Architecture (EDA) vs Request/Response (RR)
12:00
Confluent
Рет қаралды 177 М.
The Need for Protocol Buffers
5:25
Stephane Maarek
Рет қаралды 67 М.
gRPC Crash Course - Modes, Examples, Pros & Cons and more
1:19:38
Hussein Nasser
Рет қаралды 238 М.
13 Introduction to gRPC and Protocol Buffers
32:07
Nic Jackson
Рет қаралды 60 М.
What is gRPC? (Remote Procedure Calls)
7:16
IBM Technology
Рет қаралды 226 М.
2024 gRPC Golang Tutorial - The tutorial I wish I had when I was learning
32:10
Using gRPC for Long-lived and Streaming RPCs - Eric Anderson, Google
38:36
CNCF [Cloud Native Computing Foundation]
Рет қаралды 30 М.
justforfunc #30: The Basics of Protocol Buffers
28:31
justforfunc: Programming in Go
Рет қаралды 46 М.