Re: [protobuf] Is protobuf3 a superset of protobuf2?

2017-12-16 Thread Josh Humphries
I think proto3 was intended to be simpler -- an evolution of protobuf in a direction that is more refined and elides superfluous features. Eventually (though not likely any time soon), support for proto2 will go away. The main omission in proto3 that I personally felt strongly about was the lack

Re: [protobuf] Is protobuf3 a superset of protobuf2?

2017-12-16 Thread ajcurtis84
Thank you everyone for all the great input! Based on this discussion, what is the advantage of using proto3? It appears that proto2 is more feature rich. JSON isn't a compelling reason Thanks -- You received this message because you are subscribed to the Google Groups "Protocol Buffers"

[protobuf] Stream vs non stream rcp calls speed question

2017-12-16 Thread marcbegemot
I'm trivially inserting n to a db throug a grpc server When I use the non streamed version I have to call the stub n times and got n calls to my observer , whereas when I use the stream I just call the stub once and call the request observer n times for onNext(E). Aparently the streamed