go-martini / martini

Classy web framework for Go

Home Page:martini.codegangsta.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for fasthttp

valyala opened this issue · comments

fasthttp provides high-performance http server. It outperforms net/http by 1.5x-3x in production and by 10x in synthetic benchmarks. It would be great if martini adds fasthttp support additionally to net/http.

p.s.: I know that martini is no longer maintained, but I hope martini community may ressurect it and add fasthttp support :)

You suggest adding 1.5x-3x performance in HTTP but using a slow framework (hello, reflection), which does not make much sense in the end. The aforementioned reason is why the framework is no longer maintained.

Maybe try with http://github.com/gin-gonic/gin, it'd be cool if it was even faster