Hello all,
I have a VM running on GCP and one VM running on AWS. i have tried on many VMs on AWS and on GCP so i doubt there is anything wrong with the VMs.
On the VM on GCP I have a program that needs to SSH to the VM on AWS., but it times out from time to time and the latency goes up the roof; From around 1 sec to up to minutes.
Do you know if GCP does rate limiting on the outgoing traffic?
Is there anything that can be set in any network settings?
Please see details below:
I constructed a simple script that I run on the GCP VM, which executes a simple command on the remote AWS server:
i=1; while true; do echo $i; i=`expr $i + 1` ; time ssh -i x s9s@NNN.NNN.NNN.NNN
"sudo cat /etc/mtab > /dev/null"; done
Outliers in bold below.
real 0m1.198s
user 0m0.009s
sys 0m0.005s
38
real 0m0.982s
user 0m0.013s
sys 0m0.000s
39
real 0m0.969s
user 0m0.009s
sys 0m0.005s
40
real 0m32.442s
user 0m0.000s
sys 0m0.014s
41
real 1m5.566s
user 0m0.015s
sys 0m0.001s
42
real 0m1.156s
user 0m0.015s
sys 0m0.008s
43
real 0m1.277s
user 0m0.014s
sys 0m0.000s
44
real 0m16.474s
user 0m0.010s
sys 0m0.004s
45
real 0m0.958s
user 0m0.010s
sys 0m0.004s
46
real 0m0.981s
user 0m0.009s
sys 0m0.005s
Thanks for your input.
BR
johan