Software Alternatives, Accelerators & Startups

Protobuf VS graphql.js

Compare Protobuf VS graphql.js and see what are their differences

Protobuf logo Protobuf

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

graphql.js logo graphql.js

A reference implementation of GraphQL for JavaScript - graphql/graphql-js
  • Protobuf Landing page
    Landing page //
    2023-08-29
  • graphql.js Landing page
    Landing page //
    2023-08-27

Protobuf videos

StreamBerry, part 2 : introduction to Google ProtoBuf

graphql.js videos

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

+ Add video

Category Popularity

0-100% (relative to Protobuf and graphql.js)
Configuration Management
100 100%
0% 0
Project Management
0 0%
100% 100
Mobile Apps
100 100%
0% 0
Development
0 0%
100% 100

User comments

Share your experience with using Protobuf and graphql.js. 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 seems to be a lot more popular than graphql.js. While we know about 82 links to Protobuf, we've tracked only 8 mentions of graphql.js. 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

graphql.js mentions (8)

  • Diving into Open-Source Development
    To begin, I'm going to start with GraphQL. This repo is a JS-specific implementation for GraphQL, for which projects written in JS/TS can utilize to build an API for their web app. The reason why I chose this project is because I've always been intrigued by how GraphQl challenges the standard way of building an API, a.k.a REST APIs. I have very little knowledge about this project since I've never used it before at... - Source: dev.to / 9 months ago
  • How to define schema once and have server code and client code typed? [Typescript]
    When I asked this in StackOverflow over a year ago I reached the solution of using graphql + graphql-zeus. Source: 11 months ago
  • Apollo federated graph is not presenting its schema to graphiql with fields sorted lexicographically
    GraphiQL (and many other tools) relies on introspection query which AFAIK is not guaranteed to have any specific order (and many libs don't support it). Apollo Server is built on top of graphql-js and it relies on it for this functionality. Source: over 1 year ago
  • How (Not) To Build Your Own GraphQL Server
    Defining your schema and the resolvers simultaneously led to some issues for developers, as it was hard to decouple the schema from the (business) logic in your resolvers. The SDL-first approach introduced this separation of concerns by defining the complete schema before connecting them to the resolvers and making this schema executable. A version of the SDL-first approach was introduced together with GraphQL... - Source: dev.to / over 2 years ago
  • three ways to deploy a serverless graphQL API
    Graphql-yoga is built on other packages that provide functionality required for building a GraphQL server such as web server frameworks like express and apollo-server, GraphQL subscriptions with graphql-subscriptions and subscriptions-transport-ws, GraphQL engine & schema helpers including graphql.js and graphql-tools, and an interactive GraphQL IDE with graphql-playground. - Source: dev.to / over 2 years ago
View more

What are some alternatives?

When comparing Protobuf and graphql.js, you can also consider the following products

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

JsonAPI - Application and Data, Languages & Frameworks, and Query Languages

Messagepack - An efficient binary serialization format.

Apollo - Apollo is a full project management and contact tracking application.

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

Graphene - Query Languages