From the course: Building Java Microservices with gRPC
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
gRPC framework features
From the course: Building Java Microservices with gRPC
gRPC framework features
- [Woman] Let's take a look at the features of the GRPC framework. Firstly, as we said, it is more efficient for interprocess or interservice communication. Why? That has got two main reasons. The first one, it uses HTTP/2 protocol. Now this is a binary protocol. So as opposed to HTTP/1, which is tech spaced, the data that is transmitted in HTTP/2, is always in a binary format. Which means the conversion and reconversion from binary to text and text to binary that we spoke of earlier is no longer needed. Secondly, it implements protocol buffers. Protocol buffers or proto buffs, as they're commonly known as, is the interface definition language in GRPC. Proto buffs make it even faster to transmit messages between GRPC clients and servers. Next is GRPC has strictly defined interfaces. It promotes contract first approach, which means that you define the service contract first, before you work on any implementation details…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.