my office want to migrate to go programming language, what framework is recommended between chi or fiber?

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

Our great sponsors
  • InfluxDB - Access the most powerful time series database as a service
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
  • Fiber

    ⚡️ Express inspired web framework written in Go

  • Echo

    High performance, minimalist Go web framework

    i prefer echo https://echo.labstack.com/ but from these two, i'd choose fiber

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • adaptor

    🧬 Adaptor middleware to convert net/http handlers from/to Fiber request handlers

  • connect-go

    Simple, reliable, interoperable. A better gRPC.

    That said https://connect.build gives you the benefits of gRPC while keeping a wider compatibility with the web.

  • fx

    A dependency injection based application framework for Go. (by uber-go)

    I've been looking into fx by Uber. Looks pretty cool, but I haven't had the chance to do anything more than a hello, world with it.

  • dapr

    Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.

    Fasthttp on which fiber is based has A LOT of drawbacks and I would not recommend for general usage. Among things we found while analyzing it for Dapr: no request-specific context, no HTTP/2 or HTTP/3, almost no support for streaming, and the occasional bug that can’t be figured out.

  • fasthttp

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

    Fiber, while has a lot of batteries included and decent for many use cases, is known for having corner cases (because of internals like fasthttp) like https://github.com/valyala/fasthttp/issues/622

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

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