From the course: Building Java Microservices with gRPC

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

gRPC foundations

gRPC foundations

From the course: Building Java Microservices with gRPC

Start my 1-month free trial

gRPC foundations

- [Narrator] gRPC framework is built on a couple of strong foundations, which we need to understand before we move further in this course. Firstly, HTTP/2 protocol. We've already discussed before that the framework works on this protocol. So it would be nice to get an understanding of the working mechanism of this protocol. Secondly, protocol buffers or they're commonly known as protobuffs. These are used as the interface definition language, IDL, in gRPC. IDL is the way to define your service contract. That contract will contain the methods and the messages that you will pass when you call the methods. Protocol buffers is not the only way to do IDL in gRPC, but Google promotes this as a standard when you try to build services with this framework.

Contents