tfcache-comparison

Changes

run.sh 2(+2 -0)

trace.sh 2(+2 -0)

Details

run.sh 2(+2 -0)

diff --git a/run.sh b/run.sh
index 95b81ce..9e55207 100644
--- a/run.sh
+++ b/run.sh
@@ -32,9 +32,11 @@ for application in $existing_applications; do
 		if [[ ! -f applications/workloads/$application-workload-${user}user.json ]]; then
 			echo "Generating workloads for $applications with $user users"
 			if [[ $host = "localhost" ]]; then
+				export TRACER_ENABLE=false
 				docker-compose -f applications/uncached/$application/docker-compose.yml up -d --build
 			else
 				while ! </dev/tcp/$host/5000; do sleep 5; done
+				echo "caching-approaches-comparison export TRACER_ENABLE=false" | netcat -w0 $host 5000
 				echo "caching-approaches-comparison docker-compose -f applications/uncached/$application/docker-compose.yml up -d --build" | netcat -w0 $host 5000
 			fi
 			while ! curl -s $host:8080 > /dev/null; do sleep 5; done

trace.sh 2(+2 -0)

diff --git a/trace.sh b/trace.sh
index 8abf638..04a3103 100644
--- a/trace.sh
+++ b/trace.sh
@@ -20,9 +20,11 @@ echo "Running in host $host for the applications: $applications"
 for application in $applications; do
 	application=${application%/}
 	if [[ $host = "localhost" ]]; then
+		export TRACER_ENABLE=true
 		docker-compose -f applications/uncached/$application/docker-compose.yml up -d --build
 	else
 		while ! </dev/tcp/$host/5000; do sleep 5; done
+		echo "caching-approaches-comparison export TRACER_ENABLE=true" | netcat -w0 $host 5000
 		echo "caching-approaches-comparison docker-compose -f applications/uncached/$application/docker-compose.yml up -d --build" | netcat -w0 $host 5000
 	fi
 	while ! curl -s $host:8080 > /dev/null; do sleep 5; done