News for hackers. Stuff that matters.
Re:Twirp: A new RPC framework for Go by buckhx on Tuesday January 16, 2018 @05:09PM (#16163197)
There is also the grpc-gateway project for JSON transcoding https://github.com/grpc-ecosystem/grpc-gateway
Re:Twirp: A new RPC framework for Go by puzzle on Tuesday January 16, 2018 @05:34PM (#16163398)
To be fair, if you chose gRPC for performance, but then end up using JSON for most of your traffic, perhaps you picked the wrong tool.
Re:Twirp: A new RPC framework for Go by gipp on Tuesday January 16, 2018 @05:39PM (#16163430)
I don't think generally people want to have JSON accepted to use in their production workloads. More for development, testing, that kind of thing. Being able to just curl your service makes a huge difference.
Re:Twirp: A new RPC framework for Go by puzzle on Tuesday January 16, 2018 @05:59PM (#16163621)
It always starts that way, then people demand JSON everywhere ("why not?"), then they complain when things get too slow or when the OOMs begin to appear. :-)