Alternatives to Protobuf logo

Alternatives to Protobuf

JSON, Apache Thrift, ActiveMQ, Avro, and MQTT are the most popular alternatives and competitors to Protobuf.
379
252
+ 1
0

What is Protobuf and what are its top alternatives?

Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler.
Protobuf is a tool in the Serialization Frameworks category of a tech stack.
Protobuf is an open source tool with 49.5K GitHub stars and 13K GitHub forks. Here’s a link to Protobuf's open source repository on GitHub

Top Alternatives to Protobuf

  • JSON

    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. ...

  • Apache Thrift

    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. ...

  • ActiveMQ

    ActiveMQ

    Apache ActiveMQ is fast, supports many Cross Language Clients and Protocols, comes with easy to use Enterprise Integration Patterns and many advanced features while fully supporting JMS 1.1 and J2EE 1.4. Apache ActiveMQ is released under the Apache 2.0 License. ...

  • Avro

    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. ...

  • MQTT

    MQTT

    It was designed as an extremely lightweight publish/subscribe messaging transport. It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium. ...

  • gRPC

    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... ...

  • MessagePack

    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

    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. ...

Protobuf alternatives & related posts

JSON logo

JSON

1.3K
1.1K
8
A lightweight data-interchange format
1.3K
1.1K
+ 1
8
PROS OF JSON
  • 4
    Simple
  • 4
    Widely supported
CONS OF JSON
    Be the first to leave a con

    related JSON posts

    Ali Soueidan
    Creative Web Developer at Ali Soueidan · | 18 upvotes · 757.8K views

    Application and Data: Since my personal website ( https://alisoueidan.com ) is a SPA I've chosen to use Vue.js, as a framework to create it. After a short skeptical phase I immediately felt in love with the single file component concept! I also used vuex for state management, which makes working with several components, which are communicating with each other even more fun and convenient to use. Of course, using Vue requires using JavaScript as well, since it is the basis of it.

    For markup and style, I used Pug and Sass, since they’re the perfect match to me. I love the clean and strict syntax of both of them and even more that their structure is almost similar. Also, both of them come with an expanded functionality such as mixins, loops and so on related to their “siblings” (HTML and CSS). Both of them require nesting and prevent untidy code, which can be a huge advantage when working in teams. I used JSON to store data (since the data quantity on my website is moderate) – JSON works also good in combo with Pug, using for loops, based on the JSON Objects for example.

    To send my contact form I used PHP, since sending emails using PHP is still relatively convenient, simple and easy done.

    DevOps: Of course, I used Git to do my version management (which I even do in smaller projects like my website just have an additional backup of my code). On top of that I used GitHub since it now supports private repository for free accounts (which I am using for my own). I use Babel to use ES6 functionality such as arrow functions and so on, and still don’t losing cross browser compatibility.

    Side note: I used npm for package management. 🎉

    *Business Tools: * I use Asana to organize my project. This is a big advantage to me, even if I work alone, since “private” projects can get interrupted for some time. By using Asana I still know (even after month of not touching a project) what I’ve done, on which task I was at last working on and what still is to do. Working in Teams (for enterprise I’d take on Jira instead) of course Asana is a Tool which I really love to use as well. All the graphics on my website are SVG which I have created with Adobe Illustrator and adjusted within the SVG code or by using JavaScript or CSS (SASS).

    See more

    I use Visual Studio Code because at this time is a mature software and I can do practically everything using it.

    • It's free and open source: The project is hosted on GitHub and it’s free to download, fork, modify and contribute to the project.

    • Multi-platform: You can download binaries for different platforms, included Windows (x64), MacOS and Linux (.rpm and .deb packages)

    • LightWeight: It runs smoothly in different devices. It has an average memory and CPU usage. Starts almost immediately and it’s very stable.

    • Extended language support: Supports by default the majority of the most used languages and syntax like JavaScript, HTML, C#, Swift, Java, PHP, Python and others. Also, VS Code supports different file types associated to projects like .ini, .properties, XML and JSON files.

    • Integrated tools: Includes an integrated terminal, debugger, problem list and console output inspector. The project navigator sidebar is simple and powerful: you can manage your files and folders with ease. The command palette helps you find commands by text. The search widget has a powerful auto-complete feature to search and find your files.

    • Extensible and configurable: There are many extensions available for every language supported, including syntax highlighters, IntelliSense and code completion, and debuggers. There are also extension to manage application configuration and architecture like Docker and Jenkins.

    • Integrated with Git: You can visually manage your project repositories, pull, commit and push your changes, and easy conflict resolution.( there is support for SVN (Subversion) users by plugin)

    See more
    Apache Thrift logo

    Apache Thrift

    103
    177
    0
    Software framework for scalable cross-language services development
    103
    177
    + 1
    0
    PROS OF APACHE THRIFT
      Be the first to leave a pro
      CONS OF APACHE THRIFT
        Be the first to leave a con

        related Apache Thrift posts

        Since the beginning, Cal Henderson has been the CTO of Slack. Earlier this year, he commented on a Quora question summarizing their current stack.

        Apps
        • Web: a mix of JavaScript/ES6 and React.
        • Desktop: And Electron to ship it as a desktop application.
        • Android: a mix of Java and Kotlin.
        • iOS: written in a mix of Objective C and Swift.
        Backend
        • The core application and the API written in PHP/Hack that runs on HHVM.
        • The data is stored in MySQL using Vitess.
        • Caching is done using Memcached and MCRouter.
        • The search service takes help from SolrCloud, with various Java services.
        • The messaging system uses WebSockets with many services in Java and Go.
        • Load balancing is done using HAproxy with Consul for configuration.
        • Most services talk to each other over gRPC,
        • Some Thrift and JSON-over-HTTP
        • Voice and video calling service was built in Elixir.
        Data warehouse
        • Built using open source tools including Presto, Spark, Airflow, Hadoop and Kafka.
        Etc
        See more
        ActiveMQ logo

        ActiveMQ

        423
        1K
        72
        A message broker written in Java together with a full JMS client
        423
        1K
        + 1
        72
        PROS OF ACTIVEMQ
        • 16
          Easy to use
        • 13
          Open source
        • 12
          Efficient
        • 10
          JMS compliant
        • 6
          High Availability
        • 5
          Scalable
        • 3
          Support XA (distributed transactions)
        • 3
          Persistence
        • 2
          Distributed Network of brokers
        • 1
          Highly configurable
        • 1
          Docker delievery
        • 0
          RabbitMQ
        CONS OF ACTIVEMQ
        • 1
          Low resilience to exceptions and interruptions
        • 1
          Difficult to scale
        • 1
          Support

        related ActiveMQ posts

        I want to choose Message Queue with the following features - Highly Available, Distributed, Scalable, Monitoring. I have RabbitMQ, ActiveMQ, Kafka and Apache RocketMQ in mind. But I am confused which one to choose.

        See more
        Naushad Warsi
        software developer at klingelnberg · | 1 upvote · 582.5K views
        Shared insights
        on
        ActiveMQ
        RabbitMQ

        I use ActiveMQ because RabbitMQ have stopped giving the support for AMQP 1.0 or above version and the earlier version of AMQP doesn't give the functionality to support OAuth.

        If OAuth is not required and we can go with AMQP 0.9 then i still recommend rabbitMq.

        See more
        Avro logo

        Avro

        97
        125
        0
        A data serialization framework
        97
        125
        + 1
        0
        PROS OF AVRO
          Be the first to leave a pro
          CONS OF AVRO
            Be the first to leave a con

            related Avro posts

            MQTT logo

            MQTT

            311
            337
            4
            A machine-to-machine Internet of Things connectivity protocol
            311
            337
            + 1
            4
            PROS OF MQTT
            • 2
              Varying levels of Quality of Service to fit a range of
            • 1
              Very easy to configure and use with open source tools
            • 1
              Lightweight with a relatively small data footprint
            CONS OF MQTT
            • 1
              Easy to configure in an unsecure manner

            related MQTT posts

            gRPC logo

            gRPC

            736
            854
            43
            A high performance, open-source universal RPC framework
            736
            854
            + 1
            43
            PROS OF GRPC
            • 17
              Higth performance
            • 10
              Easy setup
            • 9
              The future of API
            • 4
              Contract-based
            • 3
              Polyglot
            CONS OF GRPC
              Be the first to leave a con

              related gRPC posts

              Shared insights
              on
              gRPC
              SignalR
              .NET

              We need to interact from several different Web applications (remote) to a client-side application (.exe in .NET Framework, Windows.Console under our controlled environment). From the web applications, we need to send and receive data and invoke methods to client-side .exe on javascript events like users onclick. SignalR is one of the .Net alternatives to do that, but it adds overhead for what we need. Is it better to add SignalR at both client-side application and remote web application, or use gRPC as it sounds lightest and is multilingual?

              SignalR or gRPC are always sending and receiving data on the client-side (from browser to .exe and back to browser). And web application is used for graphical visualization of data to the user. There is no need for local .exe to send or interact with remote web API. Which architecture or framework do you suggest to use in this case?

              See more
              Shared insights
              on
              Kafka
              gRPC
              at

              By mid-2015, Uber’s rider growth coupled with its cadence of releasing new services, like Eats and Freight, was pressuring the infrastructure. To allow the decoupling of consumption from production, and to add an abstraction layer between users, developers, and infrastructure, Uber built Catalyst, a serverless internal service mesh.

              Uber decided to build their own severless solution, rather that using something like AWS Lambda, speed for its global production environments as well as introspectability.

              See more
              MessagePack logo

              MessagePack

              18
              56
              1
              A binary serialization format
              18
              56
              + 1
              1
              PROS OF MESSAGEPACK
              • 1
                Lightweight
              CONS OF MESSAGEPACK
                Be the first to leave a con

                related MessagePack posts

                Serde logo

                Serde

                7
                8
                0
                Serialization framework for Rust
                7
                8
                + 1
                0
                PROS OF SERDE
                  Be the first to leave a pro
                  CONS OF SERDE
                    Be the first to leave a con

                    related Serde posts