Our great sponsors
-
fasthttp
Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
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.
If all you care about is speed and what Go+Chi offers is not enough for you, you should check out fasthttp without any router in between. Be aware of the trade-offs.
https://github.com/gin-gonic/gin is a good one, wide adopted :) Currently using it and love it :)
Have you benchmarked Deno (https://deno.land) which people said it's pretty good for build edge-ready API?
3rd party JSON libraries could help if you were comparing JSON. https://github.com/goccy/go-json
I get that you have a good experience with FastAPI documentation, the alternative web framework most community recommend is Echo: https://echo.labstack.com/