Search code examples
androidmultithreadingimagefirebase-storageimage-upload

Android Firebase storage SDK maximum parallel uploads


I have to upload some hundreds of photos to Firebase Storage. All the images are 10-15KB. I followed the suggestions and sent them 10 by 10. The problem is that the SDK seem to work only with 2 parallel threads. It actually doesn't matter if I send 10 requests or 2, only 2 are active and the rest are queued.

Is that the expected behaviour for Storage SDK on Android? iOS SDK seems to be more permissive.


Solution

  • I modified the SDK according to my needs(increased concurrent threads limit) and used the SNAPSHOT.