Ask HN: What occurred to flatbuffers? Are they getting used?
by Phil Tadros
January 17, 2023
2023-01-17 11:52:49
|
Are there protobuf throughput benchmarks somewhere? I haven’t been able to verify that they’re faster than JSON.
Edit: I was able to find these at https://github.com/hnakamur/protobuf-deb/blob/master/docs/pe… however these numbers do not appear conclusive. Protobuf decode throughput for many schemas examined is way slower than JSON, however protobufs will most likely even be a bit smaller. One must evaluate decode throughput for a similar paperwork serialized each methods slightly than simply a desk. |
|
TensorFlow Lite (tflite) uses flatbuffers. This format, and vendor-specific forks of it, ship on hundreds of millions of phones and other embedded devices.
|
|
I’m using flatbuffers as the basis of communication for my multiplayer game. They’re really quite pleasant to work with after you get into the flow of it.
|
|
How is it annoying? To be fair, we’re fronting our gRPC service with a AWS LB that terminates TLS (so our gRPC is plaintext), so we don’t deal with certs as direct dependencies of our server.
|
What's Your Reaction?
Excited
0
Happy
0
In Love
0
Not Sure
0
Silly
0