Skip to content
CAI
Produce a survey ↗Verify a survey

valyala/fasthttp

This system is a high-performance HTTP server library for Go that provides a fast, low-allocation alternative to the standard net/http package. It includes specialized packages for multi-process and multi-socket listening, in-memory communication, and proxy support, while also offering utilities for metrics, static file serving, and TLS management. The codebase emphasizes security by sanitizing headers and URLs, and ensures efficiency through stackless wrappers and dependency updates.

65.4

Adequate · 1 August 2026

22k

lines of production code

Go

primary language

2

bus factor · 255 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2015 · Security hardening and networking features

This period focused on strengthening the codebase's security by sanitizing headers and URLs to prevent injection attacks. Simultaneously, it introduced new capabilities for high-performance TCP listening via the reuseport package and provided comprehensive examples for static file and helloworld servers with compression support.

4 changes

2016 · Performance optimization and utility expansion

This period focused on enhancing the library's performance and developer experience through new utility packages. Key additions included fasthttp adapters, in-memory networking tools for testing, and stackless wrappers to reduce memory overhead. These features collectively improved the library's efficiency and usability for high-concurrency scenarios.

4 changes

2018 · proxy support and security hardening

This period focused on enhancing proxy connectivity with a new unified Dialer API for HTTP and SOCKS5, alongside a security fix for the pprof handler to prevent data exposure. The release also included updating Go dependencies and adding a multi-domain TLS example.

4 changes

2020–2025 · Performance and security enhancements

This period focused on improving server performance and security by introducing multi-process management, customizable TCP listeners, and automated TLS certificate handling. The work included adding a prefork package for multi-core optimization, importing a tcplisten package for advanced socket options, and providing examples for Let's Encrypt integration and client-side operations.

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 1 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 ac1c005e94 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards