go-martini / martini

Classy web framework for Go
martini.codegangsta.io
MIT License
11.63k stars 1.1k forks source link

Add support for fasthttp #389

Closed valyala closed 7 years ago

valyala commented 8 years ago

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 :)

erizocosmico commented 8 years ago

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

valyala commented 8 years ago

@mvader , I already filed feature request for gin