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.
I recommend anyone who is looking at building a new api with gRPC look at https://github.com/twitchtv/twirp. gRPC does a lot of cool stuff but ultimately it may get in your way when you are just wanting to do a simple deployment. Restrictions on web gRPC necessitate setting up proxies and other extra configuration to get your app running in a way that is compatible for all clients. Strict HTTP 2 requirements complicate using load balancers and managed host services like Elastic Beanstalk and the DigitalOcean App platform. Twirp walks back the complications of gRPC to generate a standard HTTP 1.1 api from your protobuf file. It is very focused on solving a narrow set of problems and relying on golang's robust standard networking libraries to underpin its operation. Everything is very simply laid out and works well with the standard library.