High performance and extensible micro web framework. Zero memory allocations in hot paths.
High performance and extensible micro web framework with zero memory allocations in hot paths.
It’s built on top of fasthttp.
go get github.com/savsgio/atreugo/v11
See: docs
Find useful libraries like middlewares, websocket, etc.
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:
Easy routing:
Common responses (also you could use your own responses):
Go to examples to see how to use Atreugo.
*atreugo.RequestCtx
is equal to *fasthttp.RequestCtx
, but with extra functionalities, so you can use
the same functions of *fasthttp.RequestCtx
. Don’t worry
Best Performance: Atreugo is one of the fastest go web frameworks in the go-web-framework-benchmark.
* Smaller is better
Feel free to contribute or fork me…