I noticed a strange behavior in the Google cloud compute engine using Bigquery and VM instances.
I have a java process that streams data into Bigquery.
I expected to have better performances by choosing the same region for BigQuery dataset and the VM instances but my tests showed an unexpected behavior.
CASE1: VM on us-central1-a AND dataset location US Average time on insertion Bigquery response: 150 milliseconds
CASE2: VM on europe-west1-c AND dataset location US Average time on insertion Bigquery response: 700 milliseconds
CASE3: VM on us-central1-a AND dataset location EU Average time on insertion Bigquery response: 1200 milliseconds
CASE4: VM on europe-west1-c AND dataset location EU Average time on insertion Bigquery responset: 1700 milliseconds
I can understand the decrease of performances in CASE2 and CASE3 but what about CASE4?
The test shows that if the Bigquery dataset location is "EU" performance decrease even if the VM region is europe-west1-c.
My conclusion is: never use Bigquery in EU (sure, except for requirements on the location of the data)!
Anything wrong in my considerations?