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!
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!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.