Types of APIs in gRPC Framework To Implement Microservices
gRPC solves the all problems that we faced with REST-JSON by using Protocol Buffers as data exchange format and also protocol buffers can be used to define service definitions and generating service stubs from ready made grpc /protobuf compiler provided by google. These compilers are available for around 14-15 programming languages by the time I write this blog. And also gRPC uses the latest HTTP/2 transport product which allows bi-directional streaming capability.
gRPC provides the following 4 types of APIs
- Unary API
- Server Streaming API
- Client Streaming API
- Bi-directional Streaming API
Check the following video to know more about these 4 APIs.
0 comments:
Post a Comment