Fly.io <> R2

download speed from R2 to fly.io is sad 🤔
27 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
chientrm
chientrmOP2y ago
they're same singapore region I send request to fly.io, fly.io download a file from R2 (500MB), fly.io throw timeout error (60 secs) before being able to process the file and return processing progress. upload from an EC2 instance is fine ~80MB/s
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
chientrm
chientrmOP2y ago
ec2 in singapore, too. download speed to my laptop is slow because of slow wifi. I can test download from R2 to EC2
chientrm
chientrmOP2y ago
Download from R2 to EC2 instance.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
chientrm
chientrmOP2y ago
Thank you so much, that will help us cutdown paid on fly.io because it's per second billing 👍
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
chientrm
chientrmOP2y ago
My example file was ~550MB, with average 10MB/s, I assume it made up over 60 seconds so that fly.io throw time out error. I see that Fly's Grafana is not accurate 🤔 I can't find the info on dash, I remember I created it with Singapore region 🙂
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
chientrm
chientrmOP2y ago
chientrm
chientrmOP2y ago
Currently, I made my fly app to periodically res.write downloading progress to avoid fly.io timeout error.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
chientrm
chientrmOP2y ago
sounds like TCP.
chientrm
chientrmOP2y ago
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
chientrm
chientrmOP2y ago
is 10MB/s downloading considered good speed?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
chientrm
chientrmOP2y ago
when I download from R2 to EC2, it's 10MB/s too I can do a second test
chientrm
chientrmOP2y ago
2nd test is same
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
chientrm
chientrmOP2y ago
it's 8PM at my location and it's rush hour now. I can redo the test later at the morning and at lunch.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
chientrm
chientrmOP2y ago
redo test at 8:30AM
chientrm
chientrmOP2y ago
Redo test at lunch time 0:00PM
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server