Greetings,
We are currently using DigitalOcean spaces to provide secure access to files for our customers using presigned urls
This works well, however we have cases where we need to generate hundreds of these URLs. The process of generating all of these URLs using amazon S3 SDK is computationally slow so we need to find a way to speed it up. In case it is helpful, it may be worth understanding that all the files will be in the same bucket, and we need to grant access to all of the files.
My understanding is that Amazon addresses this need with a couple of approaches: Signed url via custom policy, as well as signed cookies.
Are there any suggestions for how to do this in a performant way using digital ocean spaces?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Heya,
Looking at the performance optimisations, I can see that caching credentials was mentioned as possible solution to speed up the process. Also in which region is the bucket located? Have you tried using bucket in different location?
https://github.com/aws-amplify/aws-sdk-ios/issues/1691
Hope that this helps!