getodk / central

ODK Central is a server that is easy to use, very fast, and stuffed with features that make data collection easier. Contribute and make the world a better place! ✨🗄✨
https://docs.getodk.org/central-intro/
Apache License 2.0
126 stars 155 forks source link

s3: handle 307 redirects #716

Closed alxndrsn closed 1 month ago

lognaturel commented 2 months ago

Capturing some quick initial thoughts that I will chew on for a bit:

I did a few rounds of looking at request time and got consistent results that look like about 200ms extra than without which is itself already more than when the blobs were in the db (these relative values depend most on speed of application server and speed of db server; these are meaningful because they're Cloud infrastructure):

Without:

Screenshot 2024-09-20 at 12 51 21 PM

With:

Screenshot 2024-09-20 at 12 55 25 PM

From db:

Screenshot 2024-09-20 at 1 02 23 PM
alxndrsn commented 1 month ago

Closing after discussion with @lognaturel.