hertz
Go HTTP framework with high-performance and strong-extensibility for building micro-services. (by cloudwego)
Gin
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin. (by gin-gonic)
hertz | Gin | |
---|---|---|
37 | 168 | |
6,229 | 82,273 | |
2.6% | 1.5% | |
8.8 | 7.9 | |
1 day ago | 4 days ago | |
Go | Go | |
Apache License 2.0 | MIT License |
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.
hertz
Posts with mentions or reviews of hertz.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-12.
- Hertz: A High-Performance Go HTTP Framework for Microservices
-
Mastering Golang Microservices - A Practical Guide: Embrace High-Performance with Kitex and Hertz
The world of software development is fast-paced, and having reliable and efficient tools makes a significant difference. This is where CloudWeGo with two of its major sub-projects - Kitex and Hertz, comes into play. A solution with the potential to transform the way developers navigate the cloud environment, thanks to its robust, open-source technology.
- How to apply reverse proxy over websocket
- Cloudwego/Hertz: Go HTTP framework from ByteDance
-
Why is gin so popular?
What about hertz ? It's seems solid.
-
Looking for some help with code to restart application
I've forked https://github.com/cloudwego/hertz for the internal purpose and tried to implement restart functionalities. For this purpose I used code as https://gist.github.com/sujit-baniya/7077d5cf368eb46df77f1206dd88d145.
-
go-mir - a toolkit to develop RESTful API backend service like develop service of gRPC
Mir is a toolkit to develop RESTful API backend service like develop service of gRPC. It adapt some HTTP framework sush as Gin, Chi, Hertz, Echo, Iris, Fiber, Macaron, Mux, httprouter。
-
Should we use IDL to develop web api service?
Should we use IDL to develop web api service? Such as Hertz provides HZ to help users generate Server code using IDL.
- Hertz supports HTTP3 Interpretation of v0.5.0 version
- PIANO: A Simple and Lightweight HTTP Framework Implemented in Go
Gin
Posts with mentions or reviews of Gin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-05-13.
-
What Is the Best Web Framework for Go?
⭐ Gin on GitHub (80k+ stars)
-
Gin: The Go Web Framework That Will Blow Your Mind!
View the Project on GitHub
-
The Tech Stack of a Cloud Computing Startup
I've been writing Go for over 6 years, so picking Go as our main backend language was a no brainer, especially considering the great integrations into the general infra space. Most infra code is go, so that helps a lot. As a framework we use Go-Gin, but honestly we could also just use the native http lib. We also have a tiny part of code in C for some cheeky eBPF stuff we got running. YES, we could write that in Rust, but with eBPF the benefits are negligible and C was the first language I learned as a kid:)
-
User authentication in go
To simplify things, we will use gin framework and several additional packages:
-
xun VS Gin - a user suggested alternative
2 projects | 24 Jan 2025
-
Top 5 Go Libraries Every Backend Developer Should Know
1. Gin
-
A Deep Dive into Gin: Golang's Leading Framework
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API, but with performance up to 40 times faster than Martini. If you need smashing performance, get yourself some Gin.
-
Simplify Your REST API Responses with Milogo for Gin-Gonic
At my company we use Go to build internal tools. Recently I worked in a REST API using gin-gonic, that required displaying a lot of data across many endpoints.
-
Simplify Input Validation in Go with ginvalidator
ginvalidator is a set of Gin middlewares that wraps the extensive collection of validators and sanitizers offered by my other open source package validatorgo. It also uses the popular open-source package gjson for JSON field syntax, providing efficient querying and extraction of data from JSON objects.
-
Rate Limiting a Golang API using Redis
In case you have no idea what Gin and Redis are. Gin is a web framework written in Golang. It helps to create a simple and fast server without writing a lot of code. Redis it's an in-memory and key-value data store that can be used as a database or for caching capabilities.
What are some alternatives?
When comparing hertz and Gin you can also consider the following projects:
Fiber - ⚡️ Express inspired web framework written in Go
chi - lightweight, idiomatic and composable router for building Go HTTP services
gf - A powerful framework for faster, easier, and more efficient project development.
kratos - Your ultimate Go microservices framework for the cloud-native era.
Beego - beego is an open-source, high-performance web framework for the Go programming language.