14
gRPC for Binary Communication
Service-to-service communication does not need to be via REST passing JSON data. Performance and cost are important factors to consider when it comes to using gRPC, a binary and platform-independent communication technology. Reducing the data that’s transferred can increase performance and reduce costs.
In this chapter, we’ll change some services in the Codebreaker solution so that they offer gRPC instead or in addition to REST services. You’ll learn how gRPC differs from REST, as well as how to create services and clients using this binary communication technology.
In this chapter, you’ll learn how to do the following:
- Configure a service project to use gRPC
- Create a platform-independent communication contract ...
Get Pragmatic Microservices with C# and Azure 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.