Skip to content
CAI
Produce a survey ↗Verify a survey

valyala/fasthttp

This is a high-performance HTTP library and server framework for Go, designed for building scalable web services. It provides core HTTP handling, including support for TLS, proxying, and static file serving, while offering utilities for metrics, in-process communication, and stackless execution. The system also includes tools for multi-process preforking and TCP listener optimization to maximize throughput on multi-CPU systems.

65.4

Adequate · 6 August 2026

22k

lines of production code

Go

primary language

2

bus factor · 256 authors in all

4

measurements over time

CAI band scale
CAI trend line

How it got here

2015 · Security hardening and example expansion

This period focused on strengthening the library's security posture by sanitizing headers and cookies to prevent CRLF injection and memory leaks. Concurrently, the project expanded its documentation and usability by introducing new example servers, including a static file server with TLS and compression, and a basic HelloWorld server.

4 changes

2016 · fasthttp ecosystem expansion

This period focused on expanding the fasthttp ecosystem by introducing new packages for HTTP adaptation, in-process communication, metrics handling, and memory optimization. The work added utilities for converting net/http handlers, creating in-memory listeners, serving expvar metrics, and reducing stack usage for high-concurrency scenarios.

4 changes

2018 · Security hardening and proxy support

This period focused on closing a security vulnerability in the pprof endpoint routing to prevent data exposure, while simultaneously introducing a unified proxy dialer for HTTP and SOCKS5 connections. The release also included updating Go dependencies and adding a new example for multi-domain TLS routing.

4 changes

2020–2025 · server architecture and usage examples

This period focused on enhancing the server's performance and reliability by introducing a prefork package for multi-process management and integrating the tcplisten package for advanced TCP listener capabilities. Additionally, the codebase expanded its practical utility by adding comprehensive examples for HTTPS, HTTP clients, and host clients.

4 changes

CAI lens gauges

Survey your own repository

valyala/fasthttp was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 6 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 0bdb977009 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.
CAI link cards