valyala / fasthttp

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
MIT License
21.83k stars 1.76k forks source link

Who uses fasthttp? #777

Open hsblhsn opened 4 years ago

hsblhsn commented 4 years ago

Is there any production servers that's powered by fasthttp?

erikdubbelboer commented 4 years ago

At my previous company we used fasthttp to handle 30k requests per second in production. At my current company we have a service using fasthttp that does on average 6k requests per second in production.

But I'm sure there are much bigger users out there.

phuslu commented 4 years ago

We have a big service (up to 50 edge servers) which use fasthttp as frontend, the peak of total QPS reach 500K every day.

We are comforted with fasthttp worker pool mode and the []byte & append style APIs.

james-d-elliott commented 4 years ago

I'm a member of the Authelia open source project and it's the http implementation we're using. May not be what you're specifically asking but it may help either way:

https://github.com/authelia/authelia

tbarbugli commented 4 years ago

we use it for our Chat API (https://getstream.io/) and soon we'll do the same for feeds as well

vinhjaxt commented 4 years ago

I am :) :v:

iapyeh commented 4 years ago

I use the fasthttp in two intranet projects (1) an analysis platform of big data in Academia Sinica, Taiwan. (2) an AI system of voice-to-text for the language of Taiwanese. A new project about anti-fake-news is going to be the 3rd.

kirillDanshin commented 4 years ago

fasthttp is used by at least one of the largest media corporations in the world. They use it for some critical services. it's frequently being used in RTB platforms, HFT and other performance-critical tasks. in my previous companies, if we're looking at integrations made before me, I saw fasthttp used for one of four reasons:

I saw couple of cases, when a project wanted to integrate fasthttp, but decided to go for net/http. I'm working on addressing those, but here's the list:

hope it gave you an idea about fasthttp use cases :)

mmacdermaid commented 4 years ago

it's frequently being used in RTB platforms

Can confirm. My service handles a lot of QPS with limited resources. The net http handler absolutely crumbles under the same load. It's not even close.

I am using fasthttp in front/back and also using things like fastjson, bytebuffers etc.

I've been using fasthttp for years now.

rpadovani commented 4 years ago

We use for an internal proxy that hasn't many requests (~ 10M/day) but has crazy time constraints. The fact that fasthttp allocates very few resources, and the fact we are able to use the client pool to invoke the server behind the proxy means the request stays in the proxy code far less than 1ms.

gitmko0 commented 4 years ago

switched from net/http to fasthttp, from gc spike of 100% to ~35% max after conversion. able to handle around 10x more load (with some tweaks) and memory requirement is minimal. only "complaint"... no http2 / http3. other than that... it's great!! will wait for http3 to come out in 5 years.

progamer71 commented 3 years ago

I use fasthttp server library to built prototype of timestamping authority server (TSA server). it connect to hardware security module (HSM) via PKCS#11 to sign PDF documents. I also use fasthttp client library to build timestamping client as a load generator for my timestamping authority server.

tdr2d commented 3 years ago

The famous fiber framework uses it https://github.com/gofiber/fiber

tsingson commented 7 months ago

used in my business project ( more then 300 server ) for 7 years. thanks a lot.