ScalaPB
Protocol buffer compiler for Scala. (by scalapb)
Apache Avro
Apache Avro is a data serialization system. (by apache)
Our great sponsors
ScalaPB | Apache Avro | |
---|---|---|
3 | 22 | |
1,282 | 2,764 | |
0.9% | 1.4% | |
9.0 | 9.7 | |
8 days ago | about 9 hours ago | |
Scala | Java | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ScalaPB
Posts with mentions or reviews of ScalaPB.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-10.
-
Friction-less scala - Tell us what is causing friction in your day-to-day life with Scala
I've had great experience with ScalaPB and even better with fs2-grpc (which builds on top of ScalaPB).
-
Working with polymorphic data models in a REST API
One way I've solved this is to use Protobuf contracts to serialize json with ScalaPB. They have a way implementing oneof that keeps each object individual and separate. Even if you don't decide to use PB, you can take some inspiration from the implementation.
-
Scala 3.0 serialization
You could try out protocol buffers. Not sure how stable it is, but I noticed they have a Scala3 version of their runtime library. (Disclaimer: I have not tried it out myself)
Apache Avro
Posts with mentions or reviews of Apache Avro.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-14.
-
Open Table Formats Such as Apache Iceberg Are Inevitable for Analytical Data
Apache AVRO [1] is one but it has been largely replaced by Parquet [2] which is a hybrid row/columnar format
[1] https://avro.apache.org/
-
Generating Avro Schemas from Go types
The most common format for describing schema in this scenario is Apache Avro.
-
How do you update an existing avro schema using apache avro SchemaBuilder?
I am testing a new schema registry which loads and retrieves different kinds of avro schemas. In the process of testing, I need to create a bunch of different types of avro schemas. As it involves a lot of permutations, I decided to create the schema programmatically.I am using the apache avro SchemaBuilder to do so.
- The state of Apache Avro in Rust
- How people generate examples for multiple programming languages?
-
gRPC on the client side
Other serialization alternatives have a schema validation option: e.g., Avro, Kryo and Protocol Buffers. Interestingly enough, gRPC uses Protobuf to offer RPC across distributed components:
-
Understanding Azure Event Hubs Capture
Apache Avro is a data serialization system, for more information visit Apache Avro
-
tl;dr of Data Contracts
Once things like JSON became more popular Apache Avro appeared. You can define Avro files which can then be generated into Python, Java C, Ruby, etc.. classes.
-
In One Minute : Hadoop
Avro, a data serialization system based on JSON schemas.
-
Events: Fat or Thin?
Supporting multiple versions of an event schema is a solved problem. Apache Avro with a published schema hash in a message header is one solution.
https://avro.apache.org/
What are some alternatives?
When comparing ScalaPB and Apache Avro you can also consider the following projects:
scodec - Scala combinator library for working with binary data
Protobuf - Protocol Buffers - Google's data interchange format
ScalaBuff - the scala protocol buffers (protobuf) compiler
SBE - Simple Binary Encoding (SBE) - High Performance Message Codec
µPickle - uPickle: a simple, fast, dependency-free JSON & Binary (MessagePack) serialization library for Scala
Apache Thrift - Apache Thrift
Pickling
iceberg - Apache Iceberg
Scrooge - A Thrift parser/generator
Apache Parquet - Apache Parquet
Avro4s - Avro schema generation and serialization / deserialization for Scala
gRPC - The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)