Alternatives to MessagePack logo

Alternatives to MessagePack

JSON, Avro, Protobuf, gRPC, and Apache Thrift are the most popular alternatives and competitors to MessagePack.
50
78
+ 1
1

What is MessagePack and what are its top alternatives?

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.
MessagePack is a tool in the Serialization Frameworks category of a tech stack.
MessagePack is an open source tool with 6.8K GitHub stars and 509 GitHub forks. Here’s a link to MessagePack's open source repository on GitHub

Top Alternatives to MessagePack

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

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

  • Protobuf
    Protobuf

    Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler. ...

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

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

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

  • Sonic
    Sonic

    It is a blazingly fast JSON serializing & deserializing library, accelerated by JIT (just-in-time compiling) and SIMD (single-instruction-multiple-data). ...

MessagePack alternatives & related posts

JSON logo

JSON

1.9K
1.6K
9
A lightweight data-interchange format
1.9K
1.6K
+ 1
9
PROS OF JSON
  • 5
    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 · 1.2M 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
    Avro logo

    Avro

    407
    176
    0
    A data serialization framework
    407
    176
    + 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

        Protobuf logo

        Protobuf

        3.6K
        380
        0
        Google's data interchange format
        3.6K
        380
        + 1
        0
        PROS OF PROTOBUF
          Be the first to leave a pro
          CONS OF PROTOBUF
            Be the first to leave a con

            related Protobuf posts

            gRPC logo

            gRPC

            2.3K
            1.3K
            63
            A high performance, open-source universal RPC framework
            2.3K
            1.3K
            + 1
            63
            PROS OF GRPC
            • 24
              Higth performance
            • 15
              The future of API
            • 13
              Easy setup
            • 5
              Contract-based
            • 4
              Polyglot
            • 2
              Garbage
            CONS OF GRPC
              Be the first to leave a con

              related gRPC posts

              Dylan Krupp
              Shared insights
              on
              gRPCgRPCGraphQLGraphQL

              I used GraphQL extensively at a previous employer a few years ago and really appreciated the data-driven schema etc alongside the many other benefits it provided. At that time, it seemed like it was set to replace RESTful APIs and many companies were adopting it.

              However, as of late, it seems like interest has been waning for GraphQL as opposed to increasing as I had assumed it would. Am I missing something here? What is the current perspective regarding this technology?

              Currently, I'm working with gRPC and was curious as to the state of everything now.

              See more
              Shared insights
              on
              gRPCgRPCSignalRSignalR.NET.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
              Apache Thrift logo

              Apache Thrift

              186
              242
              0
              Software framework for scalable cross-language services development
              186
              242
              + 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
                  Serde logo

                  Serde

                  84
                  11
                  0
                  Serialization framework for Rust
                  84
                  11
                  + 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

                      Sonic logo

                      Sonic

                      6
                      7
                      0
                      A fast JSON serializing and deserializing library (By Bytedance)
                      6
                      7
                      + 1
                      0
                      PROS OF SONIC
                        Be the first to leave a pro
                        CONS OF SONIC
                          Be the first to leave a con

                          related Sonic posts