On 11 January 2018 at 04:20, Mario Emmenlauer <[email protected]> wrote:
>
> Hi,
>
> On 11.01.2018 13:13, [email protected] wrote:
>> Hi,
>> How do Protocol Buffers (C++) perform when messages contain big binary 
>> blobs? With big I mean 1 ... 100MByte.
>
> My impression was that its not very suitable for that. Its a while
> ago that I checked but there was no plain binary encoding back then.
> To send binary files, I encoded them in some ASCII encoding (Base64
> I think) and sent them as strings. The encoding takes some CPU, and
> the data size goes up.

Don't do this, this is slow. You just want to store the plain binary
message in a bytes datatype. This is fast and cheap.

>
> I'd be happy to learn otherwise?! And possibly things have changed in
> the meantime...
>
> Cheers,
>
>     Mario Emmenlauer
>
>
> --
> BioDataAnalysis GmbH, Mario Emmenlauer      Tel. Buero: +49-89-74677203
> Balanstr. 43                   mailto: memmenlauer * biodataanalysis.de
> D-81669 München                          http://www.biodataanalysis.de/
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to