Re:gRPC in Production
by justincormack on Saturday July 22, 2017 @04:27AM
(#14826027)
For many use cases you can just send streams of serialised data as request response with capnproto you don't necessarily need the full RPC protocol.
Still wondering which one is better, although really, it probably doesn't matter nearly as much as the rest of the code I write. For now I just want it to be easy.
Totally agree that the grpc docs are much better. It took me quite a while to figure out how to just take a message in memory and get it out (all the examples I found are about reading from a file descriptor).
Also agree about the threading model suiting my purposes more, since I don't need any synchronization (I've got reader/writer locks for that).