FastHTTP is the fastest and reliable HTTP implementation for Go. FastHTTP is tuned for high performance, with zero memory allocations in hot paths. In benchmarks, both FastHTTP server and client have shown to be up to 10 times faster than those of net/http. However, FastHTTP does not provide an API identical to net/http, but it is better to write FastHTTP request handlers by hand so as to make use of all its advantages. One of its key advantages is that unlike net/http it does not limit many optimization opportunities, such as reusing existing objects per request and avoiding unnecessary memory allocations.
Features
- Up to 10x faster than net/http
- Allows setting response headers and writing response body in an arbitrary order
- Supports powerful third-party routers and web frameworks
- Supports WebSockets
Categories
HTTP ServersLicense
MIT LicenseFollow FastHTTP
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of FastHTTP!