Closed Apexal closed 3 years ago
Initial research suggests it is too much work...
Now that I've used it for Network Programming I am more familiar with its pros and cons. Error handling appears to be pretty bad, and use in internal APIs makes more sense than external APIs.
A big disadvantage of gRPC is that it really only works backend-to-backend and browsers cannot be clients without a bunch of extra effort, compared to simply making HTTP requests in REST.
As a result of the above considerations, gRPC is deemed not worthy.
Look into gRPC as an alternative to a RESTful API. List the pros and cons for using gRPC in this particular planned architecture.