I'm trying to upload a file through Google Cloud Storage REST API. It works fine, but the task takes too much time, I think. The last test I did was uploading a 171KB sized picture, and the task was working for 71 seconds. (my upload connection is able to upload 251KB/s, by an online speed test).
The code I am executing is almost equal as the one placed in storage-cmdline-sample. The only thing I modified was the mediaContent to upload (instead the RandomDataBlockInputStream, I'm trying to upload a FileInputStream with the picture).
I don't know if it's normal, but doesn't look like that. What could be the thing am I doing wrong?
Thanks a lot!