Software Alternatives & Reviews

Protobuf VS GraphQL

Compare Protobuf VS GraphQL and see what are their differences

Protobuf logo Protobuf

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

GraphQL logo GraphQL

GraphQL is a data query language and runtime to request and deliver data to mobile and web apps.
  • Protobuf Landing page
    Landing page //
    2023-08-29
  • GraphQL Landing page
    Landing page //
    2023-08-01

Protobuf videos

StreamBerry, part 2 : introduction to Google ProtoBuf

GraphQL videos

REST vs. GraphQL: Critical Look

More videos:

  • Review - REST vs GraphQL - What's the best kind of API?
  • Review - What Is GraphQL?

Category Popularity

0-100% (relative to Protobuf and GraphQL)
Configuration Management
100 100%
0% 0
Developer Tools
0 0%
100% 100
Mobile Apps
100 100%
0% 0
Javascript UI Libraries
0 0%
100% 100

User comments

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

Social recommendations and mentions

Based on our record, GraphQL should be more popular than Protobuf. It has been mentiond 223 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 / over 1 year ago
View more

GraphQL mentions (223)

  • Building Scalable GraphQL Microservices With Node.js and Docker: A Comprehensive Guide
    GraphQL is a query language and runtime for APIs. It provides a flexible and efficient way for clients to request and retrieve specific data from a server using a single API endpoint. - Source: dev.to / 15 days ago
  • Type-Safe Fetch with Next.js, Strapi, and OpenAPI
    When you use technologies like GraphQL, it is trivial to derive TypeScript types. A GraphQL API is created by implementing a schema. Generating the TypeScript type definitions from this schema is simple, and you do not have to do any more work than just making the GraphQL API. This is one reason why I like GraphQL so much. - Source: dev.to / 23 days ago
  • REST vs. GraphQL: A Detailed Comparison of API Architectures for Developers
    REST and GraphQL have advantages, drawbacks, and use cases for different environments. REST is for simple logic and a more structured architecture, while GraphQL is for a more tailored response and flexible request. - Source: dev.to / 29 days ago
  • Gatsby tutorial: Build a static site with a headless CMS
    A Gatsby site uses Gatsby, which leverages React and GraphQL to create fast and optimized web experiences. Gatsby is often used for building static websites, progressive web apps (PWAs), and even full-blown dynamic web applications. - Source: dev.to / about 1 month ago
  • Rust GraphQL APIs for NodeJS Developers: Introduction
    In my usual NodeJS tech stack, which includes GraphQL, NestJS, SQL (predominantly PostgreSQL with MikroORM), I encountered these limitations. To overcome them, I've developed a new stack utilizing Rust, which still offers some ease of development:. - Source: dev.to / 6 months ago
View more

What are some alternatives?

When comparing Protobuf and GraphQL, 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.

Next.js - A small framework for server-rendered universal JavaScript apps

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

React - A JavaScript library for building user interfaces

TOML - TOML - Tom's Obvious, Minimal Language