gosercomp
:zap: Golang Serializer Benchmark Comparison (by smallnest)
thriftgo
An implementation of thrift compiler in go language. (by cloudwego)
gosercomp | thriftgo | |
---|---|---|
2 | 1 | |
408 | 235 | |
- | 2.6% | |
0.0 | 8.5 | |
over 1 year ago | 5 days ago | |
Go | Go | |
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.
gosercomp
Posts with mentions or reviews of gosercomp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-06.
-
Optimal dispatcher for json messages ?
Well, instead of using full GRPC, you could use ProtoBuf. Any "binary" protocol will be faster to parse than JSON, if performance is your biggest factor, you can find benchmarks comparing the different formats.
-
Is there an easy way to copy one struct's fields into another?
I like it because it's faster to parse than JSON, takes up less space than JSON, is dynamic, and you can use a generator to generate highly performant readers / writers for it. The library I recommended tinylib/msgp is one of the faster data serialization libraries in general ( https://github.com/smallnest/gosercomp ), and is well written and easy to use.
thriftgo
Posts with mentions or reviews of thriftgo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-25.
-
High-performance Go HTTP framework tasting
hz can use thrift IDL or protobuf IDL to generate code and needs to install the appropriate compiler thriftgo or protoc. We will use thrift as an example.
What are some alternatives?
When comparing gosercomp and thriftgo you can also consider the following projects:
sijsop - A simple JSON-based protocol for Go, easy to implement for other languages
userdemo - A simple demo using Hertz.
sessions - Sessions middleware for Hertz
Protobuf - Protocol Buffers - Google's data interchange format
hertz-benchmark - Tracking performance changes for Hertz
go - The Go programming language
hertz - Go HTTP framework with high-performance and strong-extensibility for building micro-services.