# valyala/fasthttp

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

Repository: https://github.com/valyala/fasthttp
Canonical: https://ross.abutalabs.com/products/fasthttp
Language: Go
License: MIT
License Family: permissive
Last push: 2026-08-17T06:40:36+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 95, longevity 100
- inputs: {"age_days": 3972, "days_push": 16, "days_rel": 37, "gap_med": 30, "n_releases_24m": 18}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 23452, forks 1854 (observed 2026-08-28T04:11:34.929988+00:00)

## What it is
A high-performance HTTP server and client library for Go, optimized for zero memory allocations in hot paths and up to 10x faster than the standard net/http package. It is designed for edge cases requiring thousands of requests per second with consistent low-millisecond response times.

## Use cases
- build a high-throughput http server in go
- serve 200k requests per second from a single server
- reduce memory allocations in go http handling
- fast http client for go
- handle many concurrent keep-alive connections
- replace net/http for performance-critical services

## When to choose
- your server or client must handle thousands of small to medium requests per second
- you need consistent low millisecond response times under heavy load
- you have measured that net/http is a bottleneck

## When to avoid
- for most general-purpose applications where net/http is easier and sufficient
- you need full HTTP/2 or HTTP/1.1 feature coverage
- low traffic services where performance differences are unnoticeable

## Facets
- artifact type: library
- maturity: stable
- function: http-server, http-client, web-framework
- domain: web-development, backend, performance, networking
- platform: go, windows, cross-platform
- tags: high-performance, zero-allocation, http, net-http-alternative, linux, macos

## Member repositories
- valyala/fasthttp (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:34.929988+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:56:28.175930+00:00, confidence not recorded.
  - readme: https://github.com/valyala/fasthttp (fetched 2026-08-28T04:11:34.929988+00:00, sha 42a6df699d40)
- Data as of 2026-08-30T08:39:29.467469+00:00.
