You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
See that NOT a single request is successful for this test - everything is at zero. Some time ago I've opened #4092. Currently it is closed but there are several problems and similar behaviour is described there. I've send a message to the mailing list requesting for more people to take a look. spring-webflux is having exactly the same behaviour. Take a look at this screenshot:
The script I've used is very simple:
XXX@box:~/sources$ cat stress-http.sh
#!/bin/bash
for i in {1..100}
do
echo "Round $i:"
wrk -H 'Host: 172.18.0.4' -H 'Accept: application/json,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 120 -c 512 --timeout 8 -t 2 "http://172.18.0.4:8080/fortunes"
done
It is executed from the Vagrant VM development environment when a framework is started in Debug mode. The IP 172.18.0.4 corresponds to the Docker container running the framework. The IPs are changing so it should be inspected and adjusted before running it. This is not a good example for shell script - the Ctrl-C is tricky for example.
With this script I can observe that the framework sometimes enters a state where the connections are established but no traffic occurs as shown in the screenshot. Sometimes there are 5-15 steps from the loop without a problem. There could be one step in the loop with the problem, then again several without. Or sometimes there are several consecutive steps manifesting the problem.
Activity
sideeffffect commentedon Jun 28, 2019
the reason may be not
fortune, but transaction deadlock on batch update inupdatesI've created a PR to fix that: #4886
zloster commentedon Jun 29, 2019
Check the
raw.txtaboutfortunetest:https://tfb-status.techempower.com/unzip/results.2019-06-26-03-51-02-855.zip/results/20190622150326/http4s/fortune/raw.txt
See that NOT a single request is successful for this test - everything is at zero. Some time ago I've opened #4092. Currently it is closed but there are several problems and similar behaviour is described there. I've send a message to the mailing list requesting for more people to take a look.
spring-webfluxis having exactly the same behaviour. Take a look at this screenshot:The script I've used is very simple:
It is executed from the Vagrant VM development environment when a framework is started in
Debugmode. The IP 172.18.0.4 corresponds to the Docker container running the framework. The IPs are changing so it should be inspected and adjusted before running it. This is not a good example for shell script - the Ctrl-C is tricky for example.With this script I can observe that the framework sometimes enters a state where the connections are established but no traffic occurs as shown in the screenshot. Sometimes there are 5-15 steps from the loop without a problem. There could be one step in the loop with the problem, then again several without. Or sometimes there are several consecutive steps manifesting the problem.
sideeffffect commentedon Jun 29, 2019
I have no idea how to fix it on the side of
http4s. perhaps somebody from @TechEmpower can chime insideeffffect commentedon Jul 8, 2019
http4sseems to be working fine inhttps://tfb-status.techempower.com/results/299df813-559c-47c3-91eb-96955d8f50d1