binary format
A data format made of compact machine-oriented bytes rather than readable text.
In more detail
Binary formats such as HTTP/2 frames and Protocol Buffers are smaller and faster to parse than text, but you need special tools to read them. HTTP/1.1 and JSON won much of the web partly because anyone can read them.
Related terms
- HTTP/2 — A version of HTTP that sends the same methods, statuses and headers in a binary format and runs many requests at once over one connection.
- Protocol Buffers — A language-neutral way to define data structures and services in .proto files and encode messages in a compact binary format.
- gRPC — A high-performance remote procedure call framework that generates client and server code from Protocol Buffers definitions and runs over HTTP/2.
Taught in
- What An API Is, And The Alternatives — Modern API Architecture: REST, GraphQL & gRPC
- When Each Wins: REST, GraphQL, gRPC And SOAP — Modern API Architecture: REST, GraphQL & gRPC