Grpc-go: Support Google Flatbuffers.

Created on 6 Sep 2016  路  10Comments  路  Source: grpc/grpc-go

Hi, friend's. grpc-go Support Flatbuffers?

Feature

Most helpful comment

Flatbuffers now supports grpc go!
google/flatbuffers#4082 got merged

All 10 comments

cc @rw @gwvo

Not at the moment. @royalharsh has been working on porting the GRPC-FlatBuffers integration to other languages, but I am not sure if he has any plans for go yet.

Currently, I am working on porting the GRPC-FlatBuffers integration to python. Most probably java and Go are next. :)

@royalharsh any news on this ?

@ekarlso Haven't started working on this yet.

If anyone with Go experience wants to step in and help, that be very much appreciated.

I have been working on it, have been reading the source code for a while after speaking with Wouter.
How do we handle Codec support for flatbuffers?, as of now ProtoCodec is default.
ref:https://github.com/grpc/grpc-go/blob/master/rpc_util.go#L54

Well, that will have to be refactored to be serialization system agnostic. For example UnMarshall would be a no-op in FlatBuffers since it works directly from serialized data. See the C++ code for some inspiration on how to structure this.

Flatbuffers now supports grpc go!
google/flatbuffers#4082 got merged

Closing this. We are not officially planning to support flatbuffers as an IDL at the moment. There is some support upstream as per google/flatbuffers#4082 and it works as a message interchange format with grpc already.

If we do need to support flatbuffers in grpc-go natively, it should be proposed as a gRFC

Was this page helpful?
0 / 5 - 0 ratings