Need advice about which tool to choose?Ask the StackShare community!

Avro

237
174
+ 1
0
Protobuf

3.1K
372
+ 1
0
Add tool

Avro vs Protobuf: What are the differences?

Avro: A data serialization framework *. It is a row-oriented remote procedure call and data serialization framework developed within Apache's Hadoop project. It uses JSON for defining data types and protocols, and serializes data in a compact binary format; *Protobuf:** Google's data interchange format. Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler.

Avro and Protobuf can be primarily classified as "Serialization Frameworks" tools.

Protobuf is an open source tool with 36.2K GitHub stars and 9.83K GitHub forks. Here's a link to Protobuf's open source repository on GitHub.

According to the StackShare community, Protobuf has a broader approval, being mentioned in 37 company stacks & 37 developers stacks; compared to Avro, which is listed in 8 company stacks and 8 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
- No public GitHub repository available -

What is Avro?

It is a row-oriented remote procedure call and data serialization framework developed within Apache's Hadoop project. It uses JSON for defining data types and protocols, and serializes data in a compact binary format.

What is Protobuf?

Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Avro?
What companies use Protobuf?
See which teams inside your own company are using Avro or Protobuf.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Avro?
What tools integrate with Protobuf?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

Jun 6 2019 at 5:11PM

AppSignal

RedisRubyKafka+9
16
1588
What are some alternatives to Avro and Protobuf?
JSON
JavaScript Object Notation is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language.
gRPC
gRPC is a modern open source high performance RPC framework that can run in any environment. It can efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking...
Apache Thrift
The Apache Thrift software framework, for scalable cross-language services development, combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, OCaml and Delphi and other languages.
MessagePack
It is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it's faster and smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves.
Serde
It is a framework for serializing and deserializing Rust data structures efficiently and generically. The ecosystem consists of data structures that know how to serialize and deserialize themselves along with data formats that know how to serialize and deserialize other things. It provides the layer by which these two groups interact with each other, allowing any supported data structure to be serialized and deserialized using any supported data format.
See all alternatives