Software Alternatives & Reviews

Apache Thrift VS Jsonnet

Compare Apache Thrift VS Jsonnet and see what are their differences

Apache Thrift logo Apache Thrift

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

Jsonnet logo Jsonnet

A powerful DSL for elegant description of JSON data.
  • Apache Thrift Landing page
    Landing page //
    2019-07-12
  • Jsonnet Landing page
    Landing page //
    2023-05-26

Apache Thrift videos

Apache Thrift

Jsonnet videos

Jsonnet

More videos:

  • Review - Using Jsonnet to Package Together Dashboards, Alerts and Exporters - Tom Wilkie
  • Review - Webinar: Writing Less YAML – Using jsonnet and kubecfg to Manage Kubernetes Resources

Category Popularity

0-100% (relative to Apache Thrift and Jsonnet)
Web Servers
100 100%
0% 0
Configuration Management
0 0%
100% 100
Web And Application Servers
Mobile Apps
0 0%
100% 100

User comments

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

Social recommendations and mentions

Based on our record, Jsonnet should be more popular than Apache Thrift. It has been mentiond 32 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.

Apache Thrift mentions (12)

  • Delving Deeper: Enriching Microservices with Golang with CloudWeGo
    While gRPC and Apache Thrift have served the microservice architecture well, CloudWeGo's advanced features and performance metrics set it apart as a promising open source solution for the future. - Source: dev.to / 2 months ago
  • Reddit System Design/Architecture
    Services in general communicate via Thrift (and in some cases HTTP). Source: about 1 year ago
  • Universal type language!
    Protocol Buffers is the most popular one, but there are many others such as Apache Thrift and my own Typical. Source: about 1 year ago
  • You worked on it? Why is it slow then?
    RPC is not strictly OO, but you can think of RPC calls like method calls. In general it will reflect your interface design and doesn't have to be top-down, although a good project usually will look that way. A good contrast to REST where you use POST/PUT/GET/DELETE pattern on resources where as a procedure call could be a lot more flexible and potentially lighter weight. Think of it like defining methods in code... Source: over 1 year ago
  • Java Serialization with Protocol Buffers
    The information can be stored in a database or as files, serialized in a standard format and with a schema agreed with your Data Engineering team. Depending on your information and requirements, it can be as simple as CSV, XML or JSON, or Big Data formats such as Parquet, Avro, ORC, Arrow, or message serialization formats like Protocol Buffers, FlatBuffers, MessagePack, Thrift, or Cap'n Proto. - Source: dev.to / over 1 year ago
View more

Jsonnet mentions (32)

  • A Reasonable Configuration Language
    Jsonnet[1] and kapitan[2] are the tools I currently use. Their learning curve is not optimal (and I tried to contribute to smoothen it with a jsonnet course[3] and a 'get started wit kapitan' blog post[4]), but once used to it it's hard to do without, and their combination makes them even more useful (esp. If you deploy K8s). In Ruud's case, Jsonnet might have been worth looking at as Hashicorp tools can be... - Source: Hacker News / 3 months ago
  • Pkl, a Programming Language for Configuration
    Kubernetes config is a decent example. I had ChatGPT generate a representative silly example -- the content doesn't matter so much as the structure: https://gist.github.com/cstrahan/528b00cd5c3a22e3d8f057bb1a75ea61 Now consider 100s (if not 1000s) of such files. I haven't given Pkl an in depth look yet, but I can say that the Industry Standard™ of "simple YAML" + string substitution (with delicate, error prone... - Source: Hacker News / 3 months ago
  • What Is Wrong with TOML?
    Maybe you'd like jsonnet: https://jsonnet.org/ I find it particularly useful for configurations that often have repeated boilerplate, like ansible playbooks or deploying a bunch of "similar-but" services to kubernetes (with https://tanka.dev). Dhall is also quite interesting, with some tradeoffs: https://dhall-lang.org/ A few years ago I did a small comparison by re-implementing one of my simpler ansible... - Source: Hacker News / 8 months ago
  • That people produce HTML with string templates is telling us something
    Apologies for the lack of context, and for missing this comment until today. Both are tools for defining kubernetes manifests (which are YAML) in a reusable manner. Jsonnet is a formally specified extension of JSON. It’s essentially a functional programming language (w/some object oriented features) that generates config files in JSON/YAML/etc, so it’s straightforward to determine whether an input file is valid,... - Source: Hacker News / 11 months ago
  • TOML: Tom's Obvious Minimal Language
    I like Google's Jsonnet [1], which has all of this except for 4. Jsonnet is quite mature, with fairly wide language adoption, and has the benefit of supporting expressions, including conditionals, arithmetic, as well as being able to define reusable blocks inside function definitions or external files. It's not suitable as a serialization format, but great for config. It's popular in some circles, but I'm sad that... - Source: Hacker News / 12 months ago
View more

What are some alternatives?

When comparing Apache Thrift and Jsonnet, you can also consider the following products

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

Dhall Configuration Language - A non-repetitive alternative to YAML

Eureka - Eureka is a contact center and enterprise performance through speech analytics that immediately reveals insights from automated analysis of communications including calls, chat, email, texts, social media, surveys and more.

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

Docker Hub - Docker Hub is a cloud-based registry service

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