Go with Chi has more ram consumption and less req/s than Koa or Fastify

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • web-frameworks

    Which is the fastest web framework?

  • fasthttp

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

  • 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.

  • 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.

    WorkOS logo
  • 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.

  • https://github.com/gin-gonic/gin is a good one, wide adopted :) Currently using it and love it :)

  • deno

    A modern runtime for JavaScript and TypeScript.

  • Have you benchmarked Deno (https://deno.land) which people said it's pretty good for build edge-ready API?

  • go-json

    Fast JSON encoder/decoder compatible with encoding/json for Go

  • 3rd party JSON libraries could help if you were comparing JSON. https://github.com/goccy/go-json

  • Echo

    High performance, minimalist Go web framework

  • I get that you have a good experience with FastAPI documentation, the alternative web framework most community recommend is Echo: https://echo.labstack.com/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts