Login Page - Create Account

DTC Protocol Discussion Forum


Date/Time: Thu, 24 Sep 2020 00:33:23 +0000


Post From: Google Protocol buf message header

[2018-04-20 08:01:01]
DTC Engineering - Posts: 288 | Ending Date: 2015-09-08 [Expired]
-prepend a non protobuf binary struct?
Yes. It is fully independent of the protocol buffer encoding and decoding.

Does the header need to a have null terminating seperator?
No.


Has anyone posted any benchmarking results detailing the performance difference between binary and the google buffers. I read they can be particularly slow for python.
This is a good question. Certainly Binary Encoding with Variable Length Strings is going to be the ultimate encoding.

We think using the Google protocol buffer version 3 compiler and library, which is also compatible with version 2 protocol files, and being the DTC Protocol use of Google protocol buffers is straightforward, that it should be quite efficient.
Date Time Of Last Edit: 2018-04-20 08:05:51