httprouter VS Gin

Compare httprouter vs Gin and see what are their differences.

httprouter

A high performance HTTP request router that scales well (by julienschmidt)

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)
Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
httprouter Gin
13 48
13,583 54,613
- 2.1%
0.0 8.7
2 months ago 6 days ago
Go Go
BSD 3-clause "New" or "Revised" License 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.

httprouter

Posts with mentions or reviews of httprouter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-02.

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 2022-01-11.

What are some alternatives?

When comparing httprouter and Gin you can also consider the following projects:

Echo - High performance, minimalist Go web framework

Fiber - ⚡️ Express inspired web framework written in Go

mux - A powerful HTTP router and URL matcher for building Go web servers with 🦍

Beego - beego is an open-source, high-performance web framework for the Go programming language.

chi - lightweight, idiomatic and composable router for building Go HTTP services

Iris - The fastest HTTP/2 Go Web Framework. AWS Lambda, gRPC, MVC, Unique Router, Websockets, Sessions, Test suite, Dependency Injection and more. A true successor of expressjs and laravel | 谢谢 https://github.com/kataras/iris/issues/1329 |

Revel - A high productivity, full-stack web framework for the Go language.

go-kit - A standard library for microservices.

fasthttprouter - A high performance fasthttp request router that scales well

Buffalo - Rapid Web Development w/ Go

fasthttp - Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http