▲ 5 ▼ Video: Binary encoding, Flatbuffers and gRPC
Binary encoding, Flatbuffers and gRPC by Manish R Jain - Go Meetup, October 2016
Register to comment or vote on this story
Binary encoding, Flatbuffers and gRPC by Manish R Jain - Go Meetup, October 2016
FlatBuffers is MUCH faster than protobuf and gob.
If you write in Go, and if your data can be readily represented as tabular tables (normalised, if you like) then you will benefit
from taking a look at this early release: https://github.com/urban-wombat/gotablesutils/releases/tag/v0.2-alpha
From a simple set of tabular tables it will generate the FlatBuffers schema, run flatc on the schema, and write the glue code for you.
It includes a Go test suite and bench test, and a simple main() which requires no further coding.