News for hackers. Stuff that matters.
Re:GRPC: A high performance, open source, general RPC framework by nostrademons on Thursday February 26, 2015 @05:06PM (#9115889)
Curious how this compares to Capn'Proto? Speed differences? Any functionality that's in one that's not in the other?
Re:GRPC: A high performance, open source, general RPC framework by louiscryan on Thursday February 26, 2015 @06:50PM (#9116368)
This is an interesting an complex topic.

Kenton does a pretty good job discussing this here https://capnproto.org/news/2014-06-17-capnproto-flatbuffers-...

and rightly mostly focuses on the message-encoding aspects. Performance will vary by use-case & platform and should be traded off against the suitability for the given use-case (platform support, schema evolution, fidelity of representation, maturity vs bleeding edge)

Cap'N'Proto has some interesting RPC features (promise-pipelining, pass-by-reference) that may be valuable to some.

FYI it would be perfectly reasonable to use Cap'N'Proto messages with GRPC as the transport layer to get HTTP2 support. GRPC was explicitly designed to allow for this.

Protobuf has better platform coverage than FlatBuffers and it's schema is easier to evolve but neither of these may matter for your use-case. As in all things it depends.

Re:GRPC: A high performance, open source, general RPC framework by kentonv on Friday February 27, 2015 @04:38PM (#9121515)
GRPC looks a lot like Google's internal Stubby, which is the main thing I am thinking of when I say "traditional RPC system" on this page:

https://capnproto.org/rpc.html

Re:GRPC: A high performance, open source, general RPC framework by luuse on Thursday February 26, 2015 @05:21PM (#9115980)
Same here but i'm also curious how the new version of Protocol Buffers compares to Flat Buffers that Google released a few months ago. The flat buffers documentation explains fairly well why i should use that but why should i use protocol buffers instead of either Capn'Proto or Flat Buffers?