ROBERT Client API Spec issueshttps://gitlab.inria.fr/stopcovid19/robert-client-api-spec/-/issues2020-08-21T17:06:07+02:00https://gitlab.inria.fr/stopcovid19/robert-client-api-spec/-/issues/6Limit bandwidth and increase performances with Protocol Buffer2020-08-21T17:06:07+02:00Florent MorinLimit bandwidth and increase performances with Protocol BufferBy using Protobuf instead of JSON, bandwidth usage can be significantly decreased.
For example, bytes are stored as bytes, and not as Base64 string.
It also works fine for enum, which are not strings but enum.
And more.
Even with compre...By using Protobuf instead of JSON, bandwidth usage can be significantly decreased.
For example, bytes are stored as bytes, and not as Base64 string.
It also works fine for enum, which are not strings but enum.
And more.
Even with compression (ie. Gzip), Protobuf is better.
And, for energy consumption on devices, Protobuf offers better performances than JSON.