awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
gofiber avatar

gofiber/fiber

0
View on GitHub↗
39,849 stars·1,994 forks·Go·MIT·10 viewsgofiber.io↗

Fiber

Fiber is a high-performance web framework designed for building scalable HTTP services with minimal memory overhead. It provides a comprehensive runtime environment for managing the full request lifecycle, utilizing an optimized radix tree for high-speed route matching and an object pooling system to reduce garbage collection pressure during traffic processing.

The framework distinguishes itself through its multi-process architecture, which supports prefork socket reuse to distribute incoming traffic across all available CPU cores. It offers a modular approach to application development, featuring fluent route grouping, middleware chaining, and automated data binding that maps request payloads to structured objects using field tags. Developers can also leverage a built-in HTTP client for outgoing requests, complete with support for connection pooling, request hooks, and streaming responses.

Beyond core routing and request handling, the project includes extensive tools for server-side HTML rendering, centralized error management, and context-aware logging. It maintains broad compatibility with the broader ecosystem by providing adapter layers that allow for the integration of standard library handlers and middleware.

The framework is configured through a central application controller that manages lifecycle hooks, service registration, and dynamic route updates. It is designed to be installed and integrated into Go projects to facilitate the development of structured, high-throughput web interfaces.

Features

  • High-Performance HTTP Servers - Building fast and scalable HTTP servers that handle high traffic volumes with minimal memory overhead and efficient resource management.
  • HTTP Routers - The framework defines HTTP route handlers for specific methods or all methods, supporting both native context functions and various external handler signatures.
  • Request Lifecycle Managers - A runtime environment that handles the full progression of incoming network traffic from initial connection to final response delivery.
  • RESTful API Frameworks - Creating structured web interfaces that map incoming request data to application logic while enforcing validation and consistent error handling.
  • Routing Engines - Organizes URL paths into a compressed tree structure to enable high-speed path lookup and dynamic parameter extraction.
  • Routing Frameworks - The framework organizes related routes into logical groups with shared prefixes and middleware, or uses fluent chains to define multiple HTTP methods for a single path.
  • Web Frameworks - A web development framework designed for speed and low memory usage by utilizing optimized request handling and object pooling.
  • HTTP Request Handlers - The framework handles incoming traffic by acquiring a context, matching routes via an optimized tree, executing middleware, and releasing resources back to the pool.
  • Middleware Pipelines - Processes incoming requests through a sequential pipeline of handlers that can intercept, modify, or terminate the request flow.
  • Request Context Management - The framework prevents automatic resource recycling during long-running asynchronous tasks by marking request contexts as abandoned, ensuring data remains available throughout the operation.
  • Process Orchestration - Spawns multiple child processes sharing a single network port to distribute incoming traffic across all available CPU cores.
  • Lifecycle Management - A management layer that coordinates server startup, graceful shutdowns, and background task execution through configurable hooks and service registration.
  • Application Configuration Frameworks - The framework manages central server settings, including route registration, middleware chains, and lifecycle hooks, to define the overall behavior of the web application.
  • HTTP Clients - Optimizes network communication through configurable connection pooling, request timeouts, and automated retry policies for improved reliability.
  • HTTP Request Interceptors - Provides a mechanism to intercept and modify outgoing HTTP requests for tasks like authentication injection or request logging.
  • Middleware Frameworks - The framework applies middleware functions globally or to specific path prefixes to intercept requests, modify headers, or pass control to subsequent handlers in the chain.
  • Middleware Orchestration - Organizing complex request processing pipelines by grouping routes and applying reusable logic across different parts of an application.
  • Request Configuration Interfaces - The framework defines outgoing request parameters, including headers, cookies, and body content, using a configuration object to customize the behavior of external API calls.
  • Request Data Binding - The framework maps incoming request data from headers, bodies, and query parameters into structured objects using field tags to automate parsing and type conversion.
  • Server-Side Rendering Engines - Generating dynamic web pages on the server by integrating template engines and custom functions to serve content directly to browsers.
  • Template Engines - The framework sets up a template engine during initialization to render dynamic HTML views using supported template languages or custom implementations of the interface.
  • API Frameworks - Express-inspired web framework for Go.
  • Full-stack Frameworks - Express-inspired framework optimized for performance.
  • Language Toolkits - Express-inspired, high-performance web framework for Go.
  • Project Documentation Examples - Features language switchers and code style badges.
  • Web Framework Middleware - Converter for net/http handlers to/from Fiber request handlers.
  • Web Frameworks - Express-style web framework built on fasthttp.
  • Distributed State Synchronizers - The framework synchronizes application state across multiple processes or prefork workers by configuring a persistent storage backend for cross-worker data consistency.
  • Request Validation - The framework defines data constraints using struct tags and custom validation interfaces to automatically verify incoming request payloads against business rules during binding.
  • Streaming Response Handlers - The framework sends large response payloads incrementally to avoid loading entire files into memory, ensuring efficient handling of large data transfers and real-time streams.
  • URL Routing Utilities - The framework extracts dynamic URL segments using named parameters or wildcards to access specific values within the handler based on the request path.
  • Multi-Process Networking - Optimizing multi-core server performance by sharing network ports across multiple processes to maximize throughput and system resource utilization.
  • Process Management - The framework improves server performance on multi-core systems by spawning multiple child processes that share the same network port using operating system socket reuse.
  • Authentication Context Providers - The framework provides helper functions to access request-scoped metadata, security tokens, and authentication credentials injected by middleware components for downstream authorization checks.
  • Authentication Strategies - The framework verifies user identity by encoding credentials into the Authorization header using standard base64 formatting to ensure secure communication with remote servers.
  • Background Service Managers - The framework manages background tasks or external connections that start and stop with the application lifecycle, providing custom state reporting for monitoring purposes.
  • Contextual Logging - The framework attaches a logger to the request context to automatically include request-specific metadata in log entries, simplifying tracing and debugging of web traffic.
  • HTTP Resource Pools - The framework minimizes memory allocations during HTTP requests by retrieving response objects from a managed pool and ensuring they are returned for reuse.
  • Middleware Bridges - The framework bridges the gap between standard library and framework-specific handlers to reuse existing middleware and routing logic across different server implementations.
  • Request Handler Chains - The framework defines multiple HTTP method handlers for a single path in a single chain, including route-specific middleware that executes before the primary handler logic.
  • Response Handlers - The framework adjusts HTTP response properties, such as headers, status codes, and body content, to deliver structured data or files back to the client.
  • Route Pattern Parsers - The framework converts route strings into static and dynamic segments with type constraints to enable efficient path matching and parameter extraction during routing.
  • Local State Stores - The framework stores and retrieves application-local key-value pairs using type-safe methods and generic helpers to manage data across different service instances.
  • Data Binding Utilities - Maps incoming request payloads to structured objects by inspecting field tags to automate parsing and type conversion.
  • Error Handling Middleware - The framework centralizes error management by mapping specific error types returned from handlers to appropriate HTTP status codes and messages automatically.
  • Logging Utilities - The framework controls application logging by using the default logger or injecting a custom implementation that satisfies the required interface for specific output requirements.
  • Application Lifecycle Hooks - The framework triggers custom logic after a sub-application attaches to a parent instance, enabling cross-application configuration or path inspection during startup.
  • Dynamic Routing - The framework modifies the application routing table at runtime by adding or removing routes and rebuilding the internal route tree without restarting the server.
  • HTTP Client Cookie Managers - Provides programmatic control over outgoing cookie values, bulk-loading, and removal during HTTP request execution.
  • HTTP Client Utilities - Provides granular control over HTTP request headers to customize metadata sent to remote services.
  • HTTP Handler Adapters - The framework converts framework-specific handlers into standard library HTTP handlers to allow the application to run within standard server environments or compatible middleware chains.
  • Middleware Adapters - The framework converts standard library HTTP handlers and middleware into compatible components to ensure seamless integration of existing ecosystem tools.
  • Middleware Integration Layers - A compatibility bridge that allows the use of standard library handlers and external components within a unified request processing pipeline.
  • Multipart Upload Utilities - The framework attaches local files or data streams to HTTP requests to perform multipart file uploads to remote endpoints using standard request methods.
  • Request Inspection Utilities - The framework examines incoming HTTP request components, including headers, body content, and client metadata, to support content negotiation and drive application logic.
  • Route Organization Patterns - The framework structures application routes into nested groups with shared path prefixes and middleware to maintain clean, modular code across the entire application.

Star history

Star history chart for gofiber/fiberStar history chart for gofiber/fiber

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Fiber

Similar open-source projects, ranked by how many features they share with Fiber.
  • vapor/vaporvapor avatar

    vapor/vapor

    26,138View on GitHub↗

    Vapor is a comprehensive server-side web framework designed for building scalable, high-performance applications and APIs in Swift. It provides a non-blocking, event-loop-based runtime that manages concurrent task processing, background job queues, and asynchronous request handling. The framework is built around a dependency injection container that manages the lifecycle and resolution of services, configurations, and database connections throughout the request pipeline. The framework distinguishes itself through a protocol-oriented design that emphasizes type safety across all layers of the

    Swiftframeworkhttphttp2
    View on GitHub↗26,138
  • go-chi/chigo-chi avatar

    go-chi/chi

    22,418View on GitHub↗

    Chi is a lightweight, idiomatic router and middleware framework for building web services in Go. It is designed to integrate directly with the standard library, providing a set of utilities for managing HTTP request routing, context propagation, and modular service composition. The project distinguishes itself through a radix-tree-based routing system that supports recursive nesting, allowing developers to mount independent sub-routers onto specific path prefixes. This hierarchical structure enables the creation of organized, modular applications where request handlers are grouped and managed

    Goapicontextgo
    View on GitHub↗22,418
  • revel/revelrevel avatar

    revel/revel

    13,224View on GitHub↗

    Revel is a full-stack web framework and toolkit for building applications with the Go language. It implements a model-view-controller architecture to separate business logic from user interface rendering, providing a comprehensive system for routing, parameter binding, and session management. The project distinguishes itself with a high-productivity development environment featuring automatic code compilation and hot-reloading, which refreshes the application state and templates upon file changes without requiring manual restarts. It also employs reflection-based parameter binding to automati

    Go
    View on GitHub↗13,224
  • julienschmidt/httprouterjulienschmidt avatar

    julienschmidt/httprouter

    17,121View on GitHub↗

    httprouter is a high-performance HTTP request router for Go that maps incoming network requests to specific handler functions using a radix tree. It functions as a request dispatcher and path parameter parser, organizing URL paths in a tree structure to ensure efficient lookups. The router specializes in capturing dynamic segments and catch-all wildcards from URL paths to pass directly into request handlers. It implements method-specific routing and automatically manages responses for unsupported HTTP methods. The library covers broader capabilities including request normalization through tr

    Gogogolanghttp
    View on GitHub↗17,121
See all 30 alternatives to Fiber→

Frequently asked questions

What does gofiber/fiber do?

Fiber is a high-performance web framework designed for building scalable HTTP services with minimal memory overhead. It provides a comprehensive runtime environment for managing the full request lifecycle, utilizing an optimized radix tree for high-speed route matching and an object pooling system to reduce garbage collection pressure during traffic processing.

What are the main features of gofiber/fiber?

The main features of gofiber/fiber are: High-Performance HTTP Servers, HTTP Routers, Request Lifecycle Managers, RESTful API Frameworks, Routing Engines, Routing Frameworks, Web Frameworks, HTTP Request Handlers.

What are some open-source alternatives to gofiber/fiber?

Open-source alternatives to gofiber/fiber include: vapor/vapor — Vapor is a comprehensive server-side web framework designed for building scalable, high-performance applications and… go-chi/chi — Chi is a lightweight, idiomatic router and middleware framework for building web services in Go. It is designed to… revel/revel — Revel is a full-stack web framework and toolkit for building applications with the Go language. It implements a… julienschmidt/httprouter — httprouter is a high-performance HTTP request router for Go that maps incoming network requests to specific handler… symfony/symfony — Symfony is a full-stack web framework designed for building scalable and maintainable server-side applications. It… elixir-plug/plug — Plug is a specification and set of primitives for building composable middleware pipelines in Elixir web applications.…