Extremely low Time to First Byte on Google Cloud Storage - google-cloud-storage

How can I improve the Time to First Byte on Google Cloud Storage? I am storing images on Google Cloud Storage and it takes 1-2 seconds forTime to First Byte.

Related

Optimal data storage options for image and videos

Our application produces images and big videos which we want to store on server, so they are available for other applications (web and desktop). What is the best option for image and video storage for proprietary data, cloud APIs or VPS extra hard drives? Based on pricing and storage / retrieval performance. Can you please guide us?

best way to upload a binary file from unreal engine to firebase cloud storage, using blueprints?

in my VR 'experience', player records an answer to a question in voice. how to upload that file to cloud storage so other players can hear it? i am using unreal engine 4 blueprints.
i started with the firebase plugins (usd 50 and usd 75). the usd 50 one cloud storage node crashes UE frequently, and 100% when packaging for windows (oculus rift, or oculus quest air linked). the usd 75 one cloud storage does not work when packaged for windows. the solution that worked for me were the following two plugins:
.. Low Entry File Manager plugin (usd 40) to convert binary file to byte array
.. VaRest (free) to upload binary file to firebase cloud storage
blueprint pasted below.
please add your answer if there is a better way to do this.

How to add videos to firebase database using flutter

I need a way to add videos to a firebase database, and I was able to find a video where someone had explained how to do this with native coding, but I was wondering if there was a way to do this with flutter.
This will not be possible (if you are sane).
The maximum data size of a string in the Realtime Database is 10 MB and it would be one hell of a torture to try to store videos in chunks of UTF-8 encoded strings.
Firebase offers Cloud Storage for Firebase, where you can easily store videos and other files.
The documentation is great for beginners with Cloud Storage and it should be easy to integrate it into your existing Realtime Database project.
If you compare GB stored of the Realtime Database and Cloud Storage on the pricing page, you will quickly realise that it would be insane to store videos in the Database instead of Cloud Storage.
The documentation on the Firebase website do not yet include Flutter, but the firebase_storage Flutter plugin is easy to operate in combination with the official docs.

Translating a large file with small API rate limits on Google Speech API

I have an audio file that is 24 hours and 100MB that I want to transcribe/translate using nodejs and the Google Speech API. The Google Speech API will not support processing more than 1 min of audio nor 10MB of data at a time.
How can I get this much data transcribed please?
My repo :
https://github.com/nguyentienviet123456/api-google-speechtotext-nodejs

Create image in Google Cloud uploading VMDK

I am trying to create private image in Google Cloud uploading a VMDK file. I did it first converting the vmdk to RAW format which turns my 2.7 GB vmdk to near about 50 GB RAW. Due to this its taking 8-10 hr to upload in google storage. Is there any other way to upload parallel to make it faster or is there any other approach by which we can upload to image to Google Storage without converting it to RAW ?