savsgio/atreugo
savsgio/atreugo has 1,302 GitHub stars and 77 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 08:13 UTC. Last push 2026-10-20.
High performance and extensible micro web framework. Zero memory allocations in hot paths.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalAtreugo
High performance and extensible micro web framework with zero memory allocations in hot paths.
It's built on top of fasthttp.
Install
go get github.com/savsgio/atreugo/v11
Supported Go versions:
- 1.23.x
- 1.22.x
- 1.21.x
Documentation
See: docs
Organization
Find useful libraries like middlewares, websocket, etc.
- See: Organization
Feature Overview
Optimized for speed. Easily handles more than 100K qps and more than 1M concurrent keep-alive connections on modern hardware.
Optimized for low memory usage.
Easy 'Connection: Upgrade' support via RequestCtx.Hijack.
Server provides anti-DoS limits.
Middlewares support:
- Before view execution.
- After view execution.
Easy routing:
- Path parameters (mandatories and optionals).
- Views with timeout.
- Group paths and middlewares.
- Static files.
- Serve one file like pdf, etc.
- Middlewares for specific views.
- fasthttp handlers support.
- net/http handlers support.
Common responses (also you could use your own responses):
- JSON
- HTTP
- Text
- Raw
- File
- Redirect
Examples:
Go to examples to see how to use Atreugo.
Note:
*atreugo.RequestCtx is equal to *fasthttp.RequestCtx, but with extra functionalities, so you can use
the same functions of *fasthttp.RequestCtx. Don't worry :smile:
Benchmark
Best Performance: Atreugo is one of the fastest go web frameworks in the go-web-framework-benchmark.
- Basic Test: The first test case is to mock 0 ms, 10 ms, 100 ms, 500 ms processing time in handlers.

- Concurrency Test (allocations): In 30 ms processing time, the test result for 100, 1000, 5000 clients is:
* Smaller is better

Contributing
Feel free to contribute or fork me... :wink:
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,695 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,203 starsreact/react
The library for web and native user interfaces.
252,348 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,629 stars