An IDL compiler turns a typed message definition into message classes and serialization/deserialization code. For binary payloads such as Protocol Buffers and Avro, this adds tooling and encourages API-first service design; statically typed clients gain compile-time API checks. section 8.1.6
Table 8.3 The benefits and drawbacks of text-based vs. binary formats for message payloads
|
Format |
Benefits |
Drawbacks |
|
Text |
|
|
|
Binary |
|
|
Compare binary payloads’ efficiency with their tooling costs against text formats’ readability and simplicity. section 8.1.6
