Hello folks ,
I am building an application that requires performant uploading of many smaller files, say 1 user in a session would upload 1000 files of 500kb, 1000 files of 1.5Mb and 1000 files of 5Mb.
I am currently generating pre-signed URLs for each of the files on the server side and provide them through API such that the user can upload them from the client side. What I am noticing now is that the number of files that I can upload in parallel is limited by the browser, which looks in line with this answer on Stackoverflow, stating that browsers limit the number of parallel connections to 6-12 connections per domain.
As all the pre-generated URLs would go through https://gateway.storjshare.io
, this would then throttle the upload. Are there any other URLs provided (e.g. eu1.gateway.storjshare.io
and eu2.gateway.storjshare.io
) that I can use to unlock the parallelisation limit?
Are there any other ideas to overcome this limitation?
Anything else that I should consider? Ideas on the scalability of this design? Alteratives?
Thanks for you help !