netineti
netineti

Reputation: 31

Firebase Storage downloads much too slow. Alternatives?

I have an android app which I want to keep light so I thought I'd store its many mp3 audio clips in Firebase Storage, and about a dozen of these (total size around 200kb) are downloaded the first time a user opens any new recyclerview list before they are playable. It works as intended, problem is the download is incredibly slow and the user waits 20-30s before they can play the files - not acceptable. I've seen other posts complaining of this download speed issue with FB Storage, and one of the few suggestions was to use FB Hosting instead as this is apparently faster. As a newbie I'm struggling with the documentation for this but it seems to be designed to use with web apps, and mine is a mobile app. The other suggestion I saw was to make the files publicly available in FB Storage. I don't particularly want to do this, but would consider it if was my best solution. Is it?

Can FB Hosting be used to store media files for mobile apps? Or should I use another cloud storage service such as Dropbox, whose free 1GB storage would be plenty for me? Could it handle heavy traffic / simultaneous downloads the way I guess FB is designed to? Or should I use a CDN? The app will, hopefully, have users spread globally. I want to use FB anyway for the other tools it provides, but where / how should I store my audio files so they will download quickly? Thanks for advice.

Upvotes: 2

Views: 1466

Answers (2)

devMohaned
devMohaned

Reputation: 145

I had the same issue around 2 years ago, I've moved to Amazon Storage S3, which was much faster than Firebase Storage.

Upvotes: 1

netineti
netineti

Reputation: 31

I made the files publicly available in FB Storage and now I have very fast downloads, so this seems to be the solution. Instructions are here making data public

Upvotes: 0

Related Questions