Software Alternatives & Reviews

Protobuf VS Messagepack

Compare Protobuf VS Messagepack and see what are their differences

Protobuf logo Protobuf

Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data.

Messagepack logo Messagepack

An efficient binary serialization format.
  • Protobuf Landing page
    Landing page //
    2023-08-29
  • Messagepack Landing page
    Landing page //
    2022-01-07

Protobuf

Categories
  • Mobile Apps
  • Configuration Management
  • Software Development
  • Productivity
Website developers.google.com
Details $

Messagepack

Categories
  • Mobile Apps
  • Configuration Management
  • Productivity
  • Software Development
Website msgpack.org
Details $

Protobuf videos

StreamBerry, part 2 : introduction to Google ProtoBuf

Messagepack videos

No Messagepack videos yet. You could help us improve this page by suggesting one.

+ Add video

Category Popularity

0-100% (relative to Protobuf and Messagepack)
Configuration Management
66 66%
34% 34
Mobile Apps
64 64%
36% 36
Application And Data
100 100%
0% 0
Productivity
0 0%
100% 100

User comments

Share your experience with using Protobuf and Messagepack. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Protobuf should be more popular than Messagepack. It has been mentiond 82 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Protobuf mentions (82)

  • Developing games on and for Mac and Linux
    Protocol Buffers: https://developers.google.com/protocol-buffers. - Source: dev.to / about 1 year ago
  • Adding Codable conformance to Union with Metaprogramming
    ProtocolBuffers’ OneOf message addresses the case of having a message with many fields where at most one field will be set at the same time. - Source: dev.to / over 1 year ago
  • Logcat is awful. What would you improve?
    That's definitely the bigger thing. I think something like Protocol Buffers (Protobuf) is what you're looking for there. Output the data and consume it by something that can handle the analysis. Source: about 1 year ago
  • Bitcoin is the "narrow waist" of internet-based value
    These protocols prevent an O(N x M) explosion of code that have to solve for many cases. For example, since JSON is an almost ubiquitous format for wire transfer (although other things do exist like protobufs), if I had N data formats that I want to serialize, I only need to write N serializers/deserializers (SerDes). If there was no such narrow waist and there were M alternatives to JSON in wide usage, I would... Source: about 1 year ago
  • Understanding gRPC Concepts, Use Cases & Best Practices
    gRPC uses protocol buffers (it is an open source message format) as the default method of communication between client and server. Also, gRPC uses HTTP/ 2 as the default protocol. - Source: dev.to / about 1 year ago
View more

Messagepack mentions (13)

  • Salt Exporter: the story behind the tool
    I also read that Salt was using MessagePack to format their messages. MessagePack is a format like JSON, but more compact. - Source: dev.to / 7 months ago
  • What is the fastest way to encode the arbitrary struct into bytes?
    So appreciate such a detailed reply, thanks. btw, why did you choose tinylib/msgp from 4 available go-impls? Source: about 1 year ago
  • Using Arduino as input to Rust project (help needed)
    If you find you're running the serial connection at maximum speed and it's still not fast enough, try switching to a more compact binary encoding that has both Serde and Arduino implementations, like MsgPack... Though I don't remember enough about its format off the top of my head to tell you the easiest way to put an unambiguous header on each packet/message to make the protocol self-synchronizing. Source: over 1 year ago
  • Java Serialization with Protocol Buffers
    The information can be stored in a database or as files, serialized in a standard format and with a schema agreed with your Data Engineering team. Depending on your information and requirements, it can be as simple as CSV, XML or JSON, or Big Data formats such as Parquet, Avro, ORC, Arrow, or message serialization formats like Protocol Buffers, FlatBuffers, MessagePack, Thrift, or Cap'n Proto. - Source: dev.to / over 1 year ago
  • Multiplayer Networking Solutions
    MessagePack Similar to JSONs, just more compact, although not as much as the ones above. Still, it's usefull to retain some readability in your messages. Source: over 1 year ago
View more

What are some alternatives?

When comparing Protobuf and Messagepack, you can also consider the following products

gRPC - Application and Data, Languages & Frameworks, Remote Procedure Call (RPC), and Service Discovery

TOML - TOML - Tom's Obvious, Minimal Language

YAML - YAML 1.2 --- YAML: YAML Ain't Markup Language

Apache Thrift - An interface definition language and communication protocol for creating cross-language services.

Avro - Avro Keyboard is an Unicode and ANSI compliant Free Bangla Typing Software and Bangla Spell Checker for Windows.

JSON - (JavaScript Object Notation) is a lightweight data-interchange format