Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Rich Error Model: This model enables servers to return and clients to consume additional error details expressed as one or more protobuf messages. It further specifies a standard set of error message types to cover the most common error (QuotaFailure, PreconditionFailure, BadRequest, etc). When an error occurs, the server returns the appropriate status code along with an optional error message.
gRPC (Google Remote Procedure Call) is a modern open source high-performance Remote Procedure Call (RPC) framework developed by Google. Google has been using Remote Procedure Call (RPC) infrastructure called Stubby to handle communications in large-scale distributed applications since 2001. After years of internal use, Google decided to further enhance and improve the technology and launched the next generation of Stubby, which they named gRPC. It follows an RPC implementation that uses HTTP 2.0 protocol. It also uses Protocol Buffer, an open-source mechanism for serializing the data in a structured format. It describes the service interface and the payload message. Here is an example of protocol buffer message:
Related posts
- Building High-Performance Web Services with Golang gRPC
- Golang in Action: How to implement a simple distributed system
- How does saving work in complex games using Unity?
- Using graphQL+gRPC+Golang to Create a Bike Rental Microservices, with persistence on ArangoDB.
- How to detect breaking changes and lint Protobuf automatically using Gitlab CI and Buf