Software Alternatives, Accelerators & Startups

Protobuf VS Protocol Buffers

Compare Protobuf VS Protocol Buffers and see what are their differences

Protobuf logo Protobuf

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

Protocol Buffers logo Protocol Buffers

A method for serializing and interchanging structured data.
  • Protobuf Landing page
    Landing page //
    2023-08-29
  • Protocol Buffers Landing page
    Landing page //
    2023-08-02

Protobuf videos

StreamBerry, part 2 : introduction to Google ProtoBuf

Protocol Buffers videos

Protocol Buffers- A Banked Journey - Christopher Reeves

More videos:

  • Review - justforfunc #30: The Basics of Protocol Buffers
  • Review - Complete Introduction to Protocol Buffers 3 : How are Protocol Buffers used?

Category Popularity

0-100% (relative to Protobuf and Protocol Buffers)
Configuration Management
78 78%
22% 22
Mobile Apps
76 76%
24% 24
Application And Data
100 100%
0% 0
Web Servers
0 0%
100% 100

User comments

Share your experience with using Protobuf and Protocol Buffers. 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 Protocol Buffers. 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 / over 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: over 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: over 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 / over 1 year ago
View more

Protocol Buffers mentions (16)

  • Reducing flyxc data usage
    Flyxc messages are based on protocol buffers ("protobuf" if you want to sound cool). They are not human readable but much more compact and faster for computers to work with:. - Source: dev.to / 4 days ago
  • Did OpenTelemetry deliver on its promise in 2023?
    > Aren’t a standard You mean like an IETF standard? That is true, although the specification is quite simple to implement. It is certainly a de-facto standard, even if it hasn’t been standardized by the IETF or IEEE or ANSI or ECMA. > inherently limits anything built on top of them to not be a standard either I’m not sure that strictly follows. https://datatracker.ietf.org/doc/html/rfc9232 for example directly... - Source: Hacker News / 4 months ago
  • How to Keep a History of MQTT Data With Node.js
    The MQTT protocol is widely used in IoT applications because of its simplicity and ability to connect different data sources to applications using a publish/subscribe model. While many MQTT brokers support persistent sessions and can store message history as long as an MQTT client is not available, there may be cases where data needs to be stored for a longer period. In such cases, it is recommended to use a time... - Source: dev.to / 5 months ago
  • Dive into Mocking Your Microservice Dependencies with Skyramp
    Generate a mock from an API definition Skyramp simplifies the process of mocking by allowing you to generate mocks directly from your API definitions, such as OpenAPI or Protobuf. This means you can easily create realistic mocks that mimic the behavior of your actual microservices. With the Skyramp CLI, it's as easy as running skyramp mocker generate ... With the relevant inputs. See the Skyramp Docs for which... - Source: dev.to / 5 months ago
  • Introducing Persisted Copilot Chats - Integrated AI Across your Workflow
    Tsavo also touched upon how consistency is also crucial at the SDK level and the data layer. A fun fact about our company is that a majority of our client-side SDKs are generated off of protobuf specs or HTTP open API specs. This means that when a new endpoint with a certain capability is released, we can quickly have it available in Kotlin, TypeScript, Dart, Rust, Go, and some other languages. This rapid... - Source: dev.to / 5 months ago
View more

What are some alternatives?

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

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

Messagepack - An efficient binary serialization format.

TOML - TOML - Tom's Obvious, Minimal Language

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

Eno - Fast, human readable, plain-text data format

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