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
I'm having issues when trying to perform TFB benchmarking runs.
The Benchmarking page suggest the suite should be run using the following Docker command, which uses "host" network AND client, database/ app servers IPs (which could be replaced by 127.0.1.1 is run locally) docker run -e USER_ID=$(id -u) --network=host --mount type=bind,source=/home/techempower/FrameworkBenchmarks,target=/FrameworkBenchmarks techempower/tfb --server-host 127.0.1.1 --database-host 127.0.1.1 --client-host 127.0.1.1 --network-mode host
The Development section suggests using "tfb" script instead which runs a Docker commands as well, but with few different settings:
it uses "tfb" newtork for Docker containers to communicate with each other
it doesn't specify database/client/app servers IPs
I tried running few ASP.NET tests (aspnetcore, aspnetcore-mysql, aspnetcore-mvc).
With "Benchmarking" command they all FAIL because of not being able to access "URL http://127.0.1.1:8080".
With the "Development" "tfb" script the same tests run smoothly, while accessing "URL http://tfb-server:8080". However, this is a development mode, without taking into consideration the 3 machines setup.
The instructions are confusing and won't elaborate on the steps to take to run TFB in a real world 3 machine setup.
I'd appreciate any input on hoe to set up the right Docker command to run the TFB in benchmarking mode with 3 machines for database, client, app server roles.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm having issues when trying to perform TFB benchmarking runs.
The Benchmarking page suggest the suite should be run using the following Docker command, which uses "host" network AND client, database/ app servers IPs (which could be replaced by 127.0.1.1 is run locally)
docker run -e USER_ID=$(id -u) --network=host --mount type=bind,source=/home/techempower/FrameworkBenchmarks,target=/FrameworkBenchmarks techempower/tfb --server-host 127.0.1.1 --database-host 127.0.1.1 --client-host 127.0.1.1 --network-mode host
The Development section suggests using "tfb" script instead which runs a Docker commands as well, but with few different settings:
I tried running few ASP.NET tests (aspnetcore, aspnetcore-mysql, aspnetcore-mvc).
With "Benchmarking" command they all FAIL because of not being able to access "URL http://127.0.1.1:8080".
With the "Development" "tfb" script the same tests run smoothly, while accessing "URL http://tfb-server:8080". However, this is a development mode, without taking into consideration the 3 machines setup.
The instructions are confusing and won't elaborate on the steps to take to run TFB in a real world 3 machine setup.
I'd appreciate any input on hoe to set up the right Docker command to run the TFB in benchmarking mode with 3 machines for database, client, app server roles.
Beta Was this translation helpful? Give feedback.
All reactions