Replies: 2 comments
-
Hello, I tried to use forked mode. And running another benchmark tool This is the number I am getting Thanks. |
Beta Was this translation helpful? Give feedback.
-
Adding more threads than processors will probably make it slower. Using threaded mode on MRI is slower than forked. Do the benchmark tools you use support HTTP/2? Obviously it will depend on hardware, but maybe compare it with puma to see if there are performance regressions in falcon. Also, what version of rails are you using? It's not the fastest framework. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am evaluating Falcon as an solution to support HTTP2 web server in Production. As of now I am thinking (Falcon + Rails), to support HTTP2 server and processing logic is implemented in rails framework, it nothing fancy stuff, just some conversion module from 1 format of http request to another format of requests and vice versa.
I am able to run it as you instructed in README on github.com. Even I see my rails routes/controller and library methods are getting called if I am sending traffic on configured port and IP. My library methods just extract the headers and return 200 OK.
I tried to run the performance using hey on local server, but it seems there are some bottle necks which leads to lower performance.
This is how I am running falcon.
falcon serve --threaded --count 40 --port 8081
... Do you see any improvements in number of threads?This is how I am sending traffic.
./bin/hey_linux_amd64 -n 10000 -c 100 -h2 -m POST -D ../sample.json https://localhost:8081/services/sample
. I am expecting there would be 100 clients now...This is the number I am getting.
Looking +ve/quick response.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions