在Github中stars數最多的Go Web框架組合

來源:互聯網
上載者:User
這是一個建立於 的文章,其中的資訊可能已經有所發展或是發生改變。
Project Name Stars Forks Description
beego 12195 2810 beego is an open-source, high-performance web framework for the Go programming language.
gin 11602 1357 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.
martini 9608 1015 Classy web framework for Go
revel 8740 1158 A high productivity, full-stack web framework for the Go language.
echo 8165 715 High performance, minimalist Go web framework
iris 7544 794 The fastest web framework for Go in (THIS) Earth. HTTP/2 Ready to GO. MVC when you need it. https://docs.iris-go.com
httprouter 5482 547 A high performance HTTP request router that scales well
fasthttp 4880 440 Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
mux 4435 600 A powerful URL router and dispatcher for golang.
web.go 2932 464 web.go is the simplest way to write web applications in the Go programming language. It's ideal for writing simple, performant backend web services.
go-json-rest 2886 314 A quick and easy way to setup a RESTful JSON API
chi 2409 158 lightweight, idiomatic and composable router for building Go HTTP services
go-restful 2291 352 package for building REST-style Web Services using Google Go
goa 2270 225 Design-based APIs and microservices in Go
macaron 2020 185 Package macaron is a high productive and modular web framework in Go.
gizmo 1897 122 A Microservice Toolkit from The New York Times
buffalo 1600 107 Rapid Web Development w/ Go
go-swagger 1448 295 Swagger 2.0 implementation for go
armor 1261 31 Uncomplicated, modern HTTP server
web 1233 91 Go Router + Middleware. Your Contexts.
pat 1063 103 A Sinatra style pattern muxer for Go's net/http library
bone 1052 71 Lightning Fast HTTP Multiplexer
go-tigertonic 956 77 A Go framework for building JSON web services inspired by Dropwizard
faygo 873 137 Faygo is a fast and concise Go Web framework that can be used to develop high-performance web app(especially API) with fewer codes.
lion 745 39 Lion is a fast HTTP router for building modern scalable modular REST APIs in Go
tango 622 91 Micro & pluggable web framework for Go
goji 518 32 Goji is a minimalistic and flexible HTTP request multiplexer for Go (golang)
traffic 515 20 Sinatra inspired regexp/pattern mux and web framework for Go
gongular 380 10 gongular is an HTTP Server Framework for developing APIs easily.
gear 364 40 A lightweight, composable and high performance web service framework for Go.
lars 331 19 Is a lightweight, fast and extensible zero allocation HTTP router for Go used to create customizable frameworks.
neo 319 30 Go Web Framework
go-ozzo 206 34 ozzo-routing is a Go package that provides high performance and powerful HTTP routing capabilities for Web applications.
golf 200 16 A fast, simple and lightweight micro-web framework for Go, comes with powerful features and has no dependencies other than the Go Standard Library.
ace 160 21 Blazing fast Go Web Framework
gem 143 31 Gem is an easy to use and high performance web framework written in Go(golang), support HTTP/2, and provides leveled logger and frequently used middlewares.
zerver 139 19 a RESTful API framework
siris 132 15 The community driven fork of Iris. The fastest web framework for Golang!
fasthttp-routing 129 13 A fast and powerful routing package for fasthttp servers
baa 85 19 an express Go web framework with routing, middleware, dependency injection, http context.
gramework 71 11 The Good Framework
route 38 6 HTTP request routing library and language
pure 37 4 Tideland Go REST Server Library
trygo 23 12 http and web services of framework for golang
gorest 23 1 Tideland Go REST Server Library
webgo 15 2 A very lightweight & simple web framework for Go
orivil 11 5 Fast & Simple & Powerful Go Web Framework. Inspired by Symfony and Laravel.

    

   前六位都是Go語言世界中的老牌Web架構,Star數眾多,功能齊全。除了前六位以外,筆者還使用過macaron,tango ,faygo這三個架構,都是國內優秀開源項目,功能非常齊全易用。在以上列表中還有一些小型Web架構的原始碼非常適合閱讀學習。最近一年,Go各類開源項目異常活躍,從以上Web架構的Star數和活躍度也可以從側面反映Go語言正在雲生態圈構建上發力。

下面是來自Go web framework benchmark的部分Go Web架構效能測試資料

 

Basic Test

The first test case is to mock 0 ms, 10 ms, 100 ms, 500 ms processing time in handlers.

the concurrency clients are 5000.

Latency is the time of real processing time by web servers. The smaller is the better.

Allocs is the heap allocations by web servers when test is running. The unit is MB. The smaller is the better.

If we enable http pipelining, test result as below:

Concurrency Test

In 30 ms processing time, the tets result for 100, 1000, 5000 clients is:

If we enable http pipelining, test result as below:

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.