Re:Twirp: A new RPC framework for Go
by daveroberts on Wednesday January 17, 2018 @10:25AM
(#16168634)
I'm trying to understand the problem this solves. Let's say you have an HTTP API which allows users to update their email address:
But you change the application to require API clients to send the user_id instead of the username.
Wouldn't you still need to mandate that all clients are updated regardless of whether you use this tool as an abstraction layer to your API?
[ Parent
| on HN ]
Recommend reading on what an RPC is: https://www.geeksforgeeks.org/operating-system-remote-proced...
And protobufs: https://developers.google.com/protocol-buffers/docs/proto3
Example, one benefit is that you're defining your API by using language neutral protobufs which then generate code consistently (including types!) into many languages. Your entire communication procedure can be easily and succinctly described in a single small, human readable file.