FrameworkBenchmarks icon indicating copy to clipboard operation
FrameworkBenchmarks copied to clipboard

Add new framework Python LiteSpeed

Open dustinsurwill opened this issue 2 years ago • 1 comments

This PR is to add benchmarking for https://github.com/falconraptor/litespeed

dustinsurwill avatar Jul 23 '22 15:07 dustinsurwill

I am getting the following error during benchmarks on my machine:

---------------------------------------------------------
 Concurrency: 256 for plaintext
 wrk -H 'Host: tfb-server' -H 'Accept: text/plain,text/html;q=0.9,application/xhtml+xml;q=0.9,application/xml;q=0.8,*/*;q=0.7' -H 'Connection: keep-alive' --latency -d 15 -c 256 --timeout 8 -t 8 http://tfb-server:8000/plaintext/ -s pipeline.lua -- 16
---------------------------------------------------------
unable to connect to tfb-server:8000 Cannot assign requested address
STARTTIME 1658596829
ENDTIME 1658596830
---------------------------------------------------------
 Concurrency: 1024 for plaintext
 wrk -H 'Host: tfb-server' -H 'Accept: text/plain,text/html;q=0.9,application/xhtml+xml;q=0.9,application/xml;q=0.8,*/*;q=0.7' -H 'Connection: keep-alive' --latency -d 15 -c 1024 --timeout 8 -t 8 http://tfb-server:8000/plaintext/ -s pipeline.lua -- 16
---------------------------------------------------------
unable to connect to tfb-server:8000 Cannot assign requested address
STARTTIME 1658596832
ENDTIME 1658596832
---------------------------------------------------------
 Concurrency: 4096 for plaintext
 wrk -H 'Host: tfb-server' -H 'Accept: text/plain,text/html;q=0.9,application/xhtml+xml;q=0.9,application/xml;q=0.8,*/*;q=0.7' -H 'Connection: keep-alive' --latency -d 15 -c 4096 --timeout 8 -t 8 http://tfb-server:8000/plaintext/ -s pipeline.lua -- 16
---------------------------------------------------------
unable to connect to tfb-server:8000 Cannot assign requested address
STARTTIME 1658596834
ENDTIME 1658596834
---------------------------------------------------------
 Concurrency: 16384 for plaintext
 wrk -H 'Host: tfb-server' -H 'Accept: text/plain,text/html;q=0.9,application/xhtml+xml;q=0.9,application/xml;q=0.8,*/*;q=0.7' -H 'Connection: keep-alive' --latency -d 15 -c 16384 --timeout 8 -t 8 http://tfb-server:8000/plaintext/ -s pipeline.lua -- 16
---------------------------------------------------------
unable to connect to tfb-server:8000 Cannot assign requested address
STARTTIME 1658596836
ENDTIME 1658596836

Could I get some help with fixing this?

dustinsurwill avatar Jul 23 '22 17:07 dustinsurwill

@falconraptor Sorry, don't know anything about this framework. I don't see where you're telling the application to serve content on port 8000. Feel free to re-open if you have some time to work on it.

NateBrady23 avatar Nov 27 '22 23:11 NateBrady23