Chapter 2: When gRPC Is the Best Tool and When It Isn't
In this chapter, we will cover use cases for Google Remote Procedure Call (gRPC). We will use sample applications to demonstrate why gRPC is a great tool to be used in some scenarios but isn't the best one for other scenarios.
The main objective of this chapter is to demonstrate how convenient it is to use gRPC for microservices architecture and asynchronous communication, but you will also be shown how inconvenient it is to use gRPC in a browser or on any platform that doesn't support the HyperText Transfer Protocol 2 (HTTP/2) protocol. You will also be shown alternative technologies you can use when gRPC is not the best answer.
We will cover the following topics in this chapter:
- Why ...
Get Microservices Communication in .NET Using gRPC now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.