go-doudou VS httprouter

Compare go-doudou vs httprouter and see what are their differences.

go-doudou

go-doudou(doudou pronounce /dəudəu/)is OpenAPI 3.0 (for REST) spec and Protobuf v3 (for grpc) based lightweight microservice framework. It supports monolith service application as well. (by unionj-cloud)

httprouter

A high performance HTTP request router that scales well (by julienschmidt)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
go-doudou httprouter
19 38
1,397 16,297
3.5% -
8.4 5.3
4 days ago about 1 month ago
Go Go
MIT License BSD 3-clause "New" or "Revised" 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.

go-doudou

Posts with mentions or reviews of go-doudou. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-03.
  • go-doudou released v2.0.1 version
    1 project | /r/golang | 14 Nov 2022
  • go-doudou released v1.3.2 with officially supporting for grpc
    2 projects | /r/golang | 3 Oct 2022
    Github repo: https://github.com/unionj-cloud/go-doudou Latest release: v1.3.2
  • go-doudou released v1.1.9 version recently
    2 projects | /r/golang | 26 Jun 2022
    Update documentation to latest version https://go-doudou.github.io
  • Is sqlx still the top choice for auto mapping database query results to a struct?
    5 projects | /r/golang | 28 Apr 2022
    If you like sqlx, I recommend you to have a look at go-doudou built-in lightweight orm based on sqlx. It can do struct to table and table to struct migration/sync, generate dao layer code to simplify your single table CRUD operations, and it also can print SQL query with parameters substituded along with opentracing compatible trace ID for locating problems, and it will have more features coming such as cache layer... Here is the repo: https://github.com/unionj-cloud/go-doudou
  • Golang future web frameworks!
    13 projects | /r/golang | 24 Apr 2022
    I recommend go-doudou for you: https://github.com/unionj-cloud/go-doudou Here is online documentation: https://go-doudou.github.io/
  • Seeking open source projects to contribute
    2 projects | /r/golang | 20 Apr 2022
    Please take a look at https://github.com/unionj-cloud/go-doudou This is a microservice framework written in Go. I opened it a year ago. It's production ready, but there are a lot of featues not implemented yet. I hope community can help me build it together.
  • Go-doudou released v1.0.3: https://github.com/unionj-cloud/go-doudou/releases/tag/v1.0.3
    1 project | /r/golang | 23 Mar 2022
    Go-doudou released v1.0.3: https://github.com/unionj-cloud/go-doudou/releases/tag/v1.0.3 Add full support for Alibaba Nacos configuration management and Ctrip Apollo configuration management Documentation: https://go-doudou.github.io/guide/configuration.html
  • go-doudou released v1.0.0 version
    3 projects | /r/golang | 7 Mar 2022
    Hi gophers, go-doudou released v1.0.0 version today: https://github.com/unionj-cloud/go-doudou/releases/tag/v1.0.0. And I finished online documentation for go-doudou though there is only English version: https://go-doudou.github.io. I also uploaded a real-world word cloud application to github: https://github.com/unionj-cloud/go-doudou-tutorials/tree/master/wordcloud. You can use this project as scaffold to build your microservices.
  • go-doudou series 01: How to develop a monolithic RESTful service with go-doudou
    5 projects | dev.to | 24 Jan 2022
    In this tutorial, I will introduce go-doudou microservice framework to you. Go-doudou has built-in service register, discover and fault tolerance features based on gossip protocol, and it uses gorilla/mux as http router, and uses golang interface as IDL(Interface Definition Language). Go-doudou is an IDL compiler and server/client code generator tool at first, then it becomes a microservice framework. Its RESTful version is stable and production ready, while grpc version is in early development.
  • go-doudou released v0.9.6 Fix incorrectly leave
    1 project | /r/golang | 19 Jan 2022

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 2024-04-26.
  • From Homemade HTTP Router to New ServeMux
    4 projects | dev.to | 26 Apr 2024
    Even third-party HTTP routers take conflict detection into consideration; for example, httprouter either matches one pattern or it doesn't. It is designed to become.
  • Authentication system using Golang and Sveltekit - Initialization and setup
    7 projects | dev.to | 2 Jun 2023
    Following the completion of the series — Secure and performant full-stack authentication system using rust (actix-web) and sveltekit and Secure and performant full-stack authentication system using Python (Django) and SvelteKit — I felt I should keep the streak by building an equivalent system in PURE go with very minimal external dependencies. We won't use any fancy web framework apart from httprouter and other basic dependencies including a database driver (pq), and redis client. As usual, we'll be using SvelteKit at the front end, favouring JSDoc instead of TypeScript. The combination is ecstatic!
  • Gin - HTTP web framework written in GO.
    3 projects | /r/engineering_stuff | 22 Apr 2023
    Gin is a web framework written in Go. It features a martini-like API with performance that is up to 40 times faster thanks to httprouter. If you need performance and good productivity, you will love Gin.
  • what's your recommended router? chi, mux, something else?
    7 projects | /r/golang | 10 Apr 2023
    But, if you care about speed take a look at httprouter. That's the one we're using in our company. It's fast but the biggest downsides for me are:
  • go-mir - a toolkit to develop RESTful API backend service like develop service of gRPC
    10 projects | /r/golang | 31 Mar 2023
    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。
  • Tools besides Go for a newbie
    36 projects | /r/golang | 26 Mar 2023
    IDE: use whatever make you productive. I personally use vscode. VCS: git, as golang communities use github heavily as base for many libraries. AFAIK Linter: use staticcheck for linting as it looks like mostly used linting tool in go, supported by many also. In Vscode it will be recommended once you install go plugin. Libraries/Framework: actually the standard libraries already included many things you need, decent enough for your day-to-day development cycles(e.g. `net/http`). But here are things for extra: - Struct fields validator: validator - Http server lib: chi router , httprouter , fasthttp (for non standard http implementations, but fast) - Web Framework: echo , gin , fiber , beego , etc - Http client lib: most already covered by stdlib(net/http), so you rarely need extra lib for this, but if you really need some are: resty - CLI: cobra - Config: godotenv , viper - DB Drivers: sqlx , postgre , sqlite , mysql - nosql: redis , mongodb , elasticsearch - ORM: gorm , entgo , sqlc(codegen) - JS Transpiler: gopherjs - GUI: fyne - grpc: grpc - logging: zerolog - test: testify , gomock , dockertest - and many others you can find here
  • shift: high-performance HTTP router for Go
    2 projects | /r/golang | 26 Mar 2023
    Also, you seemed to have copied the path.go from Julien Schmidt's httprouter without even thanking or mentioning it in the README, which I think is not a good attitude. Yes, httprouter is BSD-3-Clause licensed, but showing the people that you took the code from some respect, should be a absolute must, in my opinon.
  • What mux/router to use now a days?
    13 projects | /r/golang | 15 Mar 2023
    For a simple web app, https://github.com/julienschmidt/httprouter
  • Luciano Remes | Golang is 𝘼𝙡𝙢𝙤𝙨𝙩 Perfect
    7 projects | /r/golang | 2 Jan 2023
    Take this as the high-performing router (I used this in an early demo for the company I worked for when we considered Golang). https://github.com/julienschmidt/httprouter/blob/34250257ea144905c752bfaae80d6885f190daf6/tree.go
  • Implemented a bench marker to compare Go's HTTP Router
    16 projects | dev.to | 20 Dec 2022
    The julienschmidt/go-http-routing-benchmark is the julienschmidt/httprouter, but maintenance seemed to have stopped in recent years, so I decided to create my own benchmarker and implement it. I decided to implement bench markers.

What are some alternatives?

When comparing go-doudou and httprouter you can also consider the following projects:

ringpop-go - Scalable, fault-tolerant application-layer sharding for Go applications

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.

grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC

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

torrent - Full-featured BitTorrent client package and utilities

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

gleam - Fast, efficient, and scalable distributed map/reduce system, DAG execution, in memory or on disk, written in pure Go, runs standalone or distributedly.

Echo - High performance, minimalist Go web framework

raft - Golang implementation of the Raft consensus protocol

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

glow - Glow is an easy-to-use distributed computation system written in Go, similar to Hadoop Map Reduce, Spark, Flink, Storm, etc. I am also working on another similar pure Go system, https://github.com/chrislusf/gleam , which is more flexible and more performant.

Fiber - ⚡️ Express inspired web framework written in Go