Question

Super Super slow uploads to the DO spaces. How to solve that?

I am using presigned URLs to upload the file. Uploading files from the client to the server takes way longer than expected. The upload speed is like 160 KB/s, even though I have an internet connection with 50 Mbps.

It’s not just presigned URLs; I have also used boto.upload_file() and faced the similar issue. I also asked a friend to try out the codebase so he can confirm the issue, and he also encountered the exact same problem. I have tried multiple DigitalOcean (DO) regions. This issue is killing our product. We need a resolution urgently. Our users can’t upload the file, and they think the upload is stuck.


Submit an answer


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!

Sign In or Sign Up to Answer

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.

alexdo
Site Moderator
Site Moderator badge
September 29, 2023

Heya,

In which region is the bucket located? Have you tried using different client to upload the file?

You can use tools like mtr or ping to measure network latency to your Space. It will give some basic information on the network to check if the connection is delayed on certain load point.

Test with files of various sizes to see if the upload speed is consistently slow across different file sizes or if it’s more pronounced with larger files. You can test upload speeds using bucket in different region to check if the behaviour follows.

Regards

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel