Open hsblhsn opened 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.
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.
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:
we use it for our Chat API (https://getstream.io/) and soon we'll do the same for feeds as well
I am :) :v:
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.
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:
net/http
just wouldn't do under given loadnet/http
would require hundreds of serversnet/http
was over budget with higher error rate, and fasthttp
was under <$1.2k/day for peak load.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 :)
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.
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.
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.
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.
The famous fiber framework uses it https://github.com/gofiber/fiber
used in my business project ( more then 300 server ) for 7 years. thanks a lot.
Is there any production servers that's powered by fasthttp?