I have an application that retrieves thousands (across all clients) of PDFs daily from a Point of Sale (POS) computer system. I then upload those files to the users Dropbox account for paperwork retention laws, but as my business expands this process takes several hours daily now and I'm looking to speed it up before it becomes a problem.
Currently I simply iterate through each file and use UploadAsync for each one. The files are small averaging less 50k each, but the UploadAsync can take 2-3 seconds each (sometimes faster). Doing the math, the upload process can take 3-4 hours.
So. . . what is the fastest way to do this? Do I simply need to create parallel processes and upload say 10 at a time in parallel, or is there another way. I've seen an UploadSessionStart call that is referenced on the Data Ingress Guide here — https://www.dropbox.com/developers/reference/data-ingress-guide. But I can't find any sample code for such things officially or by any user and can't figure it out myself.
TIA — Shawn